Use dfu-util to perform multi-image DFU from application

Hello, 

We are developing nRF5340 SoC and is currently using Thingy53 as our reference design, our NCS version is v3.0.2.

So far, we've been able to use dfu-util tool to perform DFU from application without problems, but this needs to be done seperately for zephyr.signed.bin for the application core like this:

dfu-util -S 5896953F161874C2 -a 1 -D zephyr.signed.bin

And the signed_by_mcuboot_and_b0_ipc_radio.bin for the network core using the same command but just change the file. I am not even sure if the DFU process for the net core is correct by using that file.

My question is, is it possible to use a single file to perform DFU from application for both cores at the same time?

I have found this link from a previous support ticket that mentioned how to build multi-image after enabling the kconfig for sysbuild:

SB_CONFIG_SECURE_BOOT_NETCORE=y
SB_CONFIG_NETCORE_APP_UPDATE=y
SB_CONFIG_MCUBOOT_NRF53_MULTI_IMAGE_UPDATE=y

The additional generated file after enabling these is the dfu_application.zip and dfu_application.zip_manifest.json. I tried to use this dfu_application.zip as the download file in nrf-util command, the command could succeed without errors, but the device is never reprogrammed. Can someone help by providing the correct way to do so? 

Many thanks!

Related