I am trying to implement BLE DFU protocol on my nrf52840 MCU to FOTA the nrf52 devices nearby. I was able to do firmware update by reading the firmware hex stored in RAM and updating the nearby devices by doing device-to-device BLE DFU.
I now want to read application area of flash to read each byte and transmit over BLE to do DFU. Is it possible to read application area of flash in application or bootloader mode?