Skip to main content
nurist_m
Associate II
August 25, 2009
Question

EEProm Emulation

  • August 25, 2009
  • 1 reply
  • 531 views
Posted on August 25, 2009 at 11:55

EEProm Emulation

    This topic has been closed for replies.

    1 reply

    nurist_m
    nurist_mAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:21

    Hello Forum and ST Support team,

    i've used the eeprom emulation example in my project. so far everthing is working, what I don't understand is how the compiler is forced not to overwrite the memory area where the data is stored.

    In the example the actual data is stored in 'PAGE0' and 'PAGE1'.

    PAGE0 has the start address 0x0800F800

    PAGE1 has the start address 0x0800FC00

    Lets imagin my project gets bigger and bigger and reaches the area 0x800F840

    Downloading the file into the controller set the above memory with programm code. Now when i call the eeprom routines in my project wouldn't that erase the programm code in the memory area 0x0800F800?

    Any explenation is appreciated