Fail to boot after upgrade to NCS 3.1.1

We have a NCS 3.0.2 app + MCU boot with OTA functionality on nRF54L15 (PCA10156 rev 0.9.3)

After upgrading to NCS 3.1.1 it doesn't boot anymore.

*** Booting MCUboot v2.1.0-dev-9b4ae4cbc9e2 ***
*** Using nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Image index: 0, Swap type: none
I: Bootloader chainload address offset: 0x14000
I: Image version: v0.1.4
I: Jumping to the first image slot
E: Protect mcuboot flash failed, cancel startup.

I tried with

nrfjprog --recover
west build --pristine -b nrf54l15dk/nrf54l15/cpuapp/ns --sysbuild x:/path/to/project
Flash
west ncs-provision upload -s nrf54l15 -k pk.pem
Reboot

Key provisioning is successful. But I get the same error as above. 

After downgrade to NCS 3.0.2 it works again, so the problem is obviously related to upgrade NCS 3.1.1
So, what is wrong? How to fix this?

Parents Reply Children
Related