nrf5340 Serial recovery for the NET-core

Hi:

I am developing a product based on nrf5340. 

Now I am able to update the application core and network core via the BLE over the external flash. In case of any unexpected case(e.g. application core or network core crashes), it can enter the MCUboot Serial recovery mode to recover the FW by USB CDC,

now the problem is that the application core can be recovered, but the network core can not.

I set CONFIG_NRF53_MULTI_IMAGE_UPDATE= y

1. upload the net_core_app_update.bin by mcumgr.exe, everything is OK 

2. reset, but the network core version(CONFIG_FW_INFO_FIRMWARE_VERSION) is not changed (it can be seen by the log)

My question is how to update the network core in recovery mode?

Another issue is the 'image 1 version' list by mcumgr is not CONFIG_FW_INFO_FIRMWARE_VERSION, the 'image 0 version' has no problem, the same as the CONFIG_MCUBOOT_IMAGE_VERSION.

Where does the image 1 version come from?

Thanks!

Related