S32K388 DTCM and ITCM ECC error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K388 DTCM and ITCM ECC error

Jump to solution
1,198 Views
UmaMaheswaraReddy
Contributor IV

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.

UmaMaheswaraReddy_0-1718712825196.png

 

 

Thanks,

Y Uma Maheswara Reddy.

0 Kudos
Reply
1 Solution
1,182 Views
bryan_brauchler
NXP Employee
NXP Employee

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)

bryan_brauchler_0-1718715464987.png

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

 

View solution in original post

0 Kudos
Reply
1 Reply
1,183 Views
bryan_brauchler
NXP Employee
NXP Employee

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)

bryan_brauchler_0-1718715464987.png

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

 

0 Kudos
Reply