Multi-image or non-simultaneous network core update example with BOOT_SWAP_USING_SCRATCH?

Hi,

We are trying to enable Multi-Image DFU on the nRF5340 so we may update the network core on its own (no app core update). We realized that to be able to update just the network core on its own we basically had to pull most of Kconfig options used for multi-image updates.

Our question now is if there's an example of a multi-image update configuration (using external flash ideally) where CONFIG_BOOT_SWAP_USING_SCRATCH is used? Not CONFIG_BOOT_UPGRADE_ONLY...We are stuck on an error where the network core update won't go through without CONFIG_BOOT_UPGRADE_ONLY. It just gets stuck in a do/while loop in pcd.c (as mentioned in other tickets).

Also, how does USE_NRF53_MULTI_IMAGE_WITHOUT_UPGRADE_ONLY work? I don't see it used anywhere in the SDK (v.2.6.1). And how to enable it? I tried defining in Kconfig and enabling but it gave error of "no prompt". Then I tried defaulting it to `y` in the nrf/modules/mcuboot/Kconfig but no luck either and can't find examples for that as well. 

We are nearing production and need to establish revertible non-simultaneous updates for network core.

Appreciate the help.

Thanks

Parents Reply Children
No Data
Related