Hi
I would like a clarification when performing DFU from external flash.
This is applicable to both nRF52 and nRF91, I guess, as long as nRF Connect SDK and MCUboot is used.
In my case, I am more interested in nRF9160 case, when you want to do FOTA of the Application Core (M33) from external flash.
Here we say that "You can use the external flash memory as the storage partition for the secondary slot" . https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader_external_flash.html
This is good: I can use the flash in the M33 (1MB - MCUboot) for the application, but for DFU, I can use the external flash as secondary slot.
However, In the documentation, I cannot find the following information:
What is exactly happening when we swap the two slots? Does the image from external flash go to the primary slot on the M33 and the image from the M33 goes to the secondary slot on the external flash? Or we just overwrite the primary slot in the m33 with the image from the external flash, but we lose the old image (hence preventing fall back if the new image is corrupted?)
Thanks
BR
LA