After Reset SRAM Data corruption

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

After Reset SRAM Data corruption

577 Views
Pragadeesh
Contributor I

Hi,

I am Using S32K342, in that I am working on Boot Loader, after Flashing application followed by Flash Boot Loader, in normal case could be able to jump to application, but once I power ON and OFF, SRAM data corruption is happening, in Debugger shows "??????", and SRAM init pattern is not initializing so that, ECU is going to hard fault.

Pragadeesh_0-1686834339172.png

 

Please provide solution for this issue, like where I have to update the code for this issue and which thing I need to modify.

 

 

Thanks & Regards,

Pragadeesh.

 

Tags (1)
0 Kudos
Reply
1 Reply

556 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

If you power ON and OFF, data in SRAM dissapeared because it is volatile memory.

Debugger shows "??????" apparently because you have breakpoint at the very beginning, before SRAM is initialized for ECC. (by 64-bit writes to completely define the ECC code for the data unit)

Tags (1)
0 Kudos
Reply