NRF5340: FW OTA

Hi:

I am working on the NRF5340 FW OTA.

By reading this document Secure bootloader chain, I think our FW architecture should use MCUboot as the upgradable second-stage bootloader as below.

As I know, the default MCU Boot is not able to receive the FW, just swap the FW. I have questions as below:

1. how to custom the MCUBoot to be able to receive the FW by BLE like the application?  because if the application is corrupted(e,g, overwrites parts of the application firmware image) somehow by the bug, the device should stay in the MCU boot and be able to recover the application by BLE.  Is there any sample code or document for this?

2. if question 1 is not a recommended method, what is the recommended method?

Thanks!

Related