Hello,
We are using nRF52840 with SDK 15.2.0, a bootloader, the bootloader settings and the SoftDevice. Our product has a cellular modem to be able to perform OTA firmware updates without BLE. We are currently able to receive and store the new firmware in flash memory, so the next step is to reboot on the bootloader to swap the new application code at the address of the old.
We have tried to store firstly all the .zip DFU file in flash, but according to this answer on an other thread we can't do that. The .zip file contains 3 files : a .bin, a .dat and a .json. The answer said "The bootloader will activate the new image if both init data and FW data are stored correctly."
Can you explain which files must be used and where in the flash memory ? We think FW data is the .bin file but is the init data the .dat ? And is the right location at the first page after the end of the current application ?
Thanks!