This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Preventing flash from overwrite



Hello,

In my program I have reserved a few flash segments to store data.

These segments are reserved in the linker file:

APPDATAFLASH : origin = 0x8000, length = 0x0800
FLASH : origin = 0x8800, length = 0x7780

When I download a new program, the flash in the segments gets erased.

Is there a way to prevent this?

I need the data from these segments for debugging, otherwise i need to reprogram these segments (lots of work).

With kind regards,

Wim