We are currently going to try and implement FOTA/DFU with an nRF52840 controller and an nrf52832 peripheral. Is there any example for how this can be accomplished? Or are there plans to release something? What is the best way to start to tackle this issue? So far I have thought to use the secure bootloader BLE example for the peripheral and then use a modified GATT profile from one of the examples with the DFU profile on the controller and then converting the blinky .hex file to raw binary data and compiling that into the controller to test sending to the peripheral.
Nordic does not provide any DFU Controller implementation for the nRF, and there are no immediate plans to do so. However, we provide a few other DFU controller implementations that you can use as a reference:
You can also refer to the DFU protocol documentation.