Skip to main content
markus239955_stm1_st
Associate
July 16, 2015
Question

STM8 internal EEPROM and Toolchain

  • July 16, 2015
  • 2 replies
  • 1170 views
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 .... :(

    This topic has been closed for replies.

    2 replies

    luca239955_stm1_st
    Associate
    July 20, 2015
    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
    August 27, 2015
    Posted on August 27, 2015 at 10:18

    Thanks! It works ....  :)