This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM48L952, 64Kb memory array causes data abort on CLK2CTRL enable.



Hi,

A strange bug came up in testing that we really need a TI expert to help with.

We declared an array in memory:

Luint8 u8RAMDISK[64*1024] __attribute__ ((aligned (128)));

And upon running the code on a RM4KDK board we got a data abort during the clock setup phase of the RM4's init functions.

systemREG2->CLK2CNTL = (systemREG2->CLK2CNTL & 0xFFFFF0F0U)
							 | ((Luint32)(1U) << 8U)
							 | ((Luint32)1U);

and the data abort:

u32Temp = _coreGetDataFault_();

Yields a value of 0xC09 which translates to a "Write", "Precise ECC error"

When we reduce the array size to say 32Kb the error goes away.

So my question is why does the size of an array that is not even been initialized / accessed cause a data abort?

Thanks

Stomp!