Skip to main content
stefanschmitt9
Visitor II
May 5, 2015
Question

STVD: Preserve EEPROM

  • May 5, 2015
  • 1 reply
  • 1206 views
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.
    This topic has been closed for replies.

    1 reply

    luca239955_stm1_st
    Associate
    May 5, 2015
    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.