Power On Copy Table / Clear Table

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Power On Copy Table / Clear Table

189 Views
raneemrady
Contributor II

Hello,

I need to save a counter in a no init ram (not nvm).

When I power off and power on the counter is initialized with garbage and then increments over the garbage value.

Is there a way I can adjust my linker/ startup to initialize my no init ram with zero only first time after power on ?

I am using iar to compile and link my software.

 

Best Regards

 

0 Kudos
0 Replies