Skip to main content
markus239955_stm1_st
Associate
Jul 16, 2015 8:25 AM UTC
Question

STM8 internal EEPROM and Toolchain

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
    Jul 20, 2015 10:20 AM UTC
    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
    Aug 27, 2015 8:18 AM UTC
    Posted on August 27, 2015 at 10:18

    Thanks! It works ....  :)