cancel
Showing results for 
Search instead for 
Did you mean: 

does debugging erases data eeprom?

wdehoog
Associate
Posted on July 15, 2012 at 12:07

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.
0 REPLIES 0