After Reset SRAM Data corruption

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

After Reset SRAM Data corruption

1,103 次查看
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.

 

标记 (1)
0 项奖励
回复
1 回复

1,082 次查看
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)

标记 (1)
0 项奖励
回复