Setup: nrf5340dk
Zephyr: ncs 3.1.0
Hi,
I am trying to enable firmware update for CPUNET over Serial (USB_CDC). I enabled update for CPUAPP and it works correctly, but not so successfull with CPUNET.
I've tried different topics, but at the end I think I don't fully understand the logic of the update.
By reading DFU for the nRF5340 SoC - Nordic Developer Academy I understood that signed_by_mcuboot_and_b0_hci_ipc.bin should go to CPUAPP flash and after reboot it will automatically try the update.
I have uploaded that bin over mcumgr and I can see it in image 0, slot 1
image=0 slot=1
version: 0.0.0
bootable: true
flags:
hash: d4eae8a856a8130bb0cedce01afb84bb0f4cb178b91e42403e6bdcb95a6ee668
After reboot, nothing happens. If I run mcumgr test image, then this slot gets erased, but there is no update
I: Image index: 0, Swap type: none
W: Cannot upgrade: slots have non-compatible sectors
Can you please give me some advice or info what I am doing wrong?
Thank you a lot