On a 6418, with all L2 RAM turned off (100 percent user SRAM), and all MARs at their power-up default state of 0 (disabled), does the CPU automatically handle EDMA transfers from L1D cache to external SDRAM for a simple initialization loop like this:
void InitSDRAM(void)
{
uint32_t n;
uint8_t* p;
p = (uint8_t*)0x80000000;
for (n = 0; n < 0x04000000; n++)
{
*(p + n) = 0x00;
}
}
?
I'm asking because I'm getting wrong results if I try to initialize more than 1 MB. The routine is run last after all other initialization, including EMIF, has been performed.
--Randy