cancel
Showing results for 
Search instead for 
Did you mean: 

Data EEPROM area overwritten with each STVD debug session

Ted Jackson
Senior

Hi. I'm using the STVD IDE with Cosmic with an STM8TL52F4 MCU with the 'Minimize Code Size' compiler option selected. Under Debug instrument->ICD MCU configuration->Options, I set the DATASIZE_bit6 Value to 1 (the other DATASIZE bits are 0) and made no other changes there. As I understand it, that should reserve a 1024 byte window in EEPROM for my permanent (power-up to power-up) settings info starting at address 0x0800. I'm able to UNLOCK, write and read that area and LOCK it again without problems. However, with each debug session, I find that the area is always overwritten. How do I prevent that and keep that area secure? And I'm curious what it's being overwritten WITH?

0 REPLIES 0