cancel
Showing results for 
Search instead for 
Did you mean: 

STM8 internal EEPROM and Toolchain

markus239955_stm1_st
Associate II
Posted on July 16, 2015 at 10:25

Hi all!

ST Visual Development

Raisonance Debugger

Cosmic Compiler

The following problem:

It seems that the internal EEPROM is erased every time the debugger writes new

software into the controller. Is it possible to tell the debugger NOT to erase the EEPROM? Because all the init data is lost .... :(

2 REPLIES 2
luca239955_stm1_st
Senior II
Posted on July 20, 2015 at 12:20

Hello,

for the Cosmic compiler you can use the -c option on the eeprom segment in the linker command file (I think this can also be done using the STVD menus): in this way the linker does not emit anything for the eeprom and therefore it keeps the values of te previous session.

Regards,

Luca

markus239955_stm1_st
Associate II
Posted on August 27, 2015 at 10:18

Thanks! It works ....  🙂