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