9 years, 4 months ago.

How to preserve flash memory while uploading hex-file through drag&drop

Hi!

While working on some board with a nRF51 I stored some data (node specific ID) in the flash memory which was preserved if I uploaded a bin file with a Segger J-Link.

Since a few weeks I switched to another mbed / cmsis-dap compatible board but it seems that after I drag and drop a new hex file onto the MBED flash drive I erase the flash memory on which I stored my data. It looks like the host (MK20) does a full flash erase before uploading the new hex file onto the BLE Nano.

How to prevent this from happening?

- CR

Be the first to answer this question.