Hi,
I develop a device with a GPRS modem. GPRS modem is controlled by nrf52840 and it is impossible to use two devices for DFU process.
SDK: 17.0.2
SoftDevice: s140 7.2.0
My idea is:
- Download bin and data files to nrf flash using uart (AT commands) from an HTTP server
- Set some flag for bootloader
- Reboot the nrf
- Bootloader upgrades by checking this flag. Check firmware and activate new firmware (dual-bank update).
Main idea - not to bring all processes about firmware checking to the main application to reduce application size and complexity. So, questions:
- Is it a good idea or not?
- How to store bin and data files to nrf flash?
- How to set flags for the bootloader?
- How to modify the bootloader?
It would be great to have some examples or links to similar posts. Thanks in advance!