Board : nrf51822 / Before entering DFU, I want to save data in the flash. I am using the buttonless DFU. How should I store data in the application?
Board : nrf51822 / Before entering DFU, I want to save data in the flash. I am using the buttonless DFU. How should I store data in the application?
Hi,
There are multiple ways of writing to flash. If you use a softdevice you can use fstorage or FDS. Check out these examples on Nordic's Github page.
If you don't use a softdevice, you can use the Non-volatile memory controller or take a look at the Flash Write example.
Best regards,
Jørgen