Skip to main content
Nickname12889_O
Associate
December 1, 2010
Question

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

  • December 1, 2010
  • 3 replies
  • 770 views
Posted on December 02, 2010 at 00:31

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

    This topic has been closed for replies.

    3 replies

    Nickname12889_O
    Associate
    May 17, 2011
    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

    Andrew Neil
    Super User
    May 17, 2011
    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...
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tesla DeLorean
    Guru
    May 17, 2011
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..