cancel
Showing results for 
Search instead for 
Did you mean: 

STVD: Preserve EEPROM

stefanschmitt9
Associate
Posted on May 05, 2015 at 15:59

How can I preserve the EEPROM contents when debugging my application on the STM8S003?

I use STVD and either the STLink/V2 or the RLink.
1 REPLY 1
luca239955_stm1_st
Senior II
Posted on May 05, 2015 at 17:39

What compiler?

What do you want to do exactly?

If your need is to not write the eeprom when flashing your program (so that your newly flashed application uses eeprom values from the previous session/execution) you can use the -c option on the eeprom segment in the linker file (Cosmic compiler).

Hope it helps.