Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 10 months ago.
How to preserve flash memory while uploading hex-file through drag&drop
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?