Hello, I am working on a nRF52840 based SoC (RAK4631) and it is using Adafruit's Arduino nRF core (Adafruit nRF52 Arduino). The DFU is being performed by BLE in that core. Instead of using the BLE layer, I am developing a process to do the DFU using UART.
My approach would be to store the new image file on my modem’s (RAK2011 - BG96) storage and then to mimic whatever process BLE layer is doing to write to the memory of NRF chip (RAK4631).
However, I have been told by the developer at RAK that the BLE OTA DFU functions in use are being handled directly in the bootloader and softdevice of the nRF52 (in case of Adafruit core bootloader) and there's little possibility of changing anything. Is this the case with the original nRF SDK bootloader as well ? or is it possible to isolate the BLE functions in the bootloader and perform DFU by UART ?
Please keep that in view that I cannot use the NRF SDK on RAK4631 (codebase and platform limitations).
(here is the reference to the RAK query : BLE/UART OTA DFU on RAK4631).