nRF5340 OTA DFU of network core only

Originally, I wanted to achieve a simultaneous multi-image OTA DFU of both the app core and net core on the nRF5340 (via BLE). According to most resources online (namely, https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous), it has become apparent that it requires an external flash in order to perform a simultaneous multi-image OTA DFU (via BLE). Because my design does not have an external flash that I can use, I am OK with upgrading each core individually. To OTA DFU the app-core only, the smp_server sample project provides everything needed to accomplish this.

My question is: is there guidance on how to perform a net core only OTA update? Are there key modifications needed for the smp_server sample or is there a different sample entirely that is recommended? Please advise.

Extra details: I am using the nRF Connect SDK (versions 2.0.0+). I am also utilizing the nRF Connect for Mobile app (on iOS) as well as the Device Manager app (also on iOS) to perform the OTA process.

Any helpful information is greatly appreciated!

  • Hi,

    According to the author of the repo, the nonsimultanous DFU sample for the nRF5340 should work right out of the box with one image at the time. But do note that this comes with a very important disclaimer that you must never update the interface between the net- and app-core as this will brick the nRF when doing it this way. 

    From the repo:

    However, if you update the interface between the net and app cores, you must update them at the same time. If not, you will not be able to update the second core after the first one has been updated.

    Let me know if this answers your questions or not! 

    Kind regards,
    Andreas

Related