cancel
Showing results for 
Search instead for 
Did you mean: 

EEProm Emulation

nurist_m
Associate II
Posted on August 25, 2009 at 11:55

EEProm Emulation

1 REPLY 1
nurist_m
Associate II
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