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.
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.
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)