Skip to main content
wdehoog
Visitor II
July 15, 2012
Question

does debugging erases data eeprom?

  • July 15, 2012
  • 0 replies
  • 469 views
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.
    This topic has been closed for replies.