cancel
Showing results for 
Search instead for 
Did you mean: 

Can I save an array of variables in memory after a power cycle

Nickname12889_O
Associate
Posted on December 02, 2010 at 00:31

Can I save an array of variables in memory after a power cycle

3 REPLIES 3
Posted on May 17, 2011 at 14:17

Can some one point me to the right direction ?

 

If you have a battery you could use the BKP registers, otherwise you could use a section of FLASH.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III
Posted on May 17, 2011 at 14:17

''you could use a section of FLASH''

 

There is an Application Note showing how to do this; ie, using Flash to simulate an EEPROM.

Of course, you could just add an external non-volatile storage device...
Nickname12889_O
Associate
Posted on May 17, 2011 at 14:17

Hi Clive1 and neil andrew,

Thanks for showing me the right direction. I am about to run the EEPROM example under I2C under ''examples'' and take it from there to my application.

Cheers

Kishore