This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Retaining variables during reset

Part Number: CC2640R2F

Tool/software:

Hi Community,

My firmware hangs and stop advertising at very rare occasions which I cannot reproduce easily on my debugging. As a fix I would like to implement a watchdog timer to get the processor back alive. 

But, few variables I required to continue flow of my code are resetting during wdt reset. I cannot write them into NVM memories present in my system as those will be updated every second. So, the erase cycles of NVM will be very frequent. 

Is there any way I can retain few variables in RAM which are not going to be erased during resets? 

Please suggest something.

Best

Lakshmi