HOW to use the IS61C25616AL in utasker??
Can you show you code???
CAN it use as the mcf52259's 64Kbyte SRAM?
I have see the example,it use the pointer!
Can it use as the SRAM if the address is continuous with the 64Kbyte SRAM !
So the RAM is 64K+outside RAM,don't like the pointer usage!
/********************************************************************/
//DES added mb_init code
void
mcf52259_mb_init(void)
{
static int i;
static int8 j;
static int tempi;
/*
* Enable MiniBus CS0 for MRAM access
*/
MCF_MB_CSAR(0) = (0
| MCF_MB_CSAR_BA(MRAM_ADDRESS));
MCF_MB_CSCR(0) = (0
| MCF_MB_CSCR_SWS(0)
| MCF_MB_CSCR_SWSEN(0)
| MCF_MB_CSCR_ASET(0) //DES was 3
| MCF_MB_CSCR_RDAH(0) //DES was 3
| MCF_MB_CSCR_WRAH(0) //DES was 3
| MCF_MB_CSCR_WS(1) //DES was 20
| MCF_MB_CSCR_MUX(0)
| MCF_MB_CSCR_AA(1)
| MCF_MB_CSCR_PS(1)
| MCF_MB_CSCR_BSTR(0)
| MCF_MB_CSCR_BSTW(0));
MCF_MB_CSMR(0) = (0
| MCF_MB_CSMR_BAM(0x007f)
| MCF_MB_CSMR_V(1));
/*
while(1)
{
for(i=0,j=0; i<0x80000; i++)
{
(*(vuint8 *)(0x80000000 + i)) = j++; //write
}
for(i=0; i<0x80000; i++)
{
tempi = (*(vuint8 *)(0x80000000 + i)); //read
}
}
*/
}