MPC5744P Keep Alive RAM Memory

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC5744P Keep Alive RAM Memory

269 Views
sagardhavali
Contributor III

Hello,

I am trying to retain a RAM value even after reset. But unfortunately the RAM locations are getting reset.

I tried to reserve 128 bytes and tried to store the value in 8 bytes and made that location as NO LOAD. I also altered startup script to initialize the SRAM to start initialize the location after the reserved memory. Nothing helped.

pastedImage_1.png

I have attached my Linker file along with Startup script.

Does anyone to how to work with this? Any help is much appreciated.

Thanks,

Sagar

2 Replies

89 Views
petervlna
NXP Employee
NXP Employee

Hi,

RAM memory content is lost on following reset assertions:

1. Power on reset

2. Destructive reset

3. Long functional reset with BIST enabled

RAM content is preserved on reset:

1. Short functional reset

2. Long functional reset with BIST disabled

regards,

Peter

89 Views
sagardhavali
Contributor III

Thanks for the reply, Peter.

I will check out those options.

0 Kudos