I would like to implement a non-volatile RAM for MPC5744 MCU project. I need to retain some data when MCU goes to reset.
But according to MCU application note - MPC5744P_Software_Start_Up_and_Optimization.pdf:
3.7 SRAM initialization
The internal SRAMs feature Error Correcting Code (ECC). Because these ECC bits can contain random data after the device is turned on, all SRAM locations must be initialized before being read by application code.
Does anybody has an idea on how to implement non-volatile RAM? Or how I can retain some values in RAM when reset occurred?
P.S. I don't want to store these data in data flash.
Thanks in advance.
Hi, you can omit SRAM initialization for Functional reset sources. When a 'functional' reset event occurs, a
partial reset sequence is applied to the chip starting from PHASE1[FUNC], keeping the system memory