Hi,
In S32K388 observed DTCM and ITCM ECC errors. Enabling DTCM, ITCM and initialization of ITCM and DTCM memory is in startup code. Also enabled MPU.
Thanks,
Y Uma Maheswara Reddy.
Solved! Go to Solution.
Hello,
Upon POR, ECC must be initialized on all volatile memories. This requires 64-bit writes to initialize the ECC bits prior to reading this memory. This should occur in the startup code (startup_cm7.s) but is dependent on the __DTCM_INIT and __ITCM_INIT symbols being set to 1. (These are set in the linker file)
If you are getting ECC errors, please ensure that this is running as a part of the startup code, and that the address that you are accessing was included in this loop (Between __INT_DTCM_START and __INT_DTCM_END).
Best,
Bryan
Hello,
Upon POR, ECC must be initialized on all volatile memories. This requires 64-bit writes to initialize the ECC bits prior to reading this memory. This should occur in the startup code (startup_cm7.s) but is dependent on the __DTCM_INIT and __ITCM_INIT symbols being set to 1. (These are set in the linker file)
If you are getting ECC errors, please ensure that this is running as a part of the startup code, and that the address that you are accessing was included in this loop (Between __INT_DTCM_START and __INT_DTCM_END).
Best,
Bryan