AnsweredAssumed Answered

does debugging erases data eeprom?

Question asked by de_hoog.w on Jul 15, 2012
Hi,

I am using the discovery board (stm32l) using gcc and the gdbserver from Atollic. My program can erase the data eeprom and write some new values in it, However when I start a new debug session the contents seems to be erased (back to all zeroes).

Does anybody know how I can prevent the data eeprom page from being erased?

-- EDIT--

on closer inspection it (data eeprom) is not being erased but overwritten. After terminating the debug session and connecting with STLink utility I see the first 20 bytes (address 0x08080000) have been modified.

Outcomes