CONFIG_MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION in NRF5340 multi update

Hi,

I would like to add MCU boot hardware downgrade prevention in my project. 

So i had the following config in prj.conf

CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION="1.1.0+0"
CONFIG_MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION=y

Then, when i flash my board i get this error on log

*** Booting nRF Connect SDK 3758bcbfa5cd ***
E: Security counter update failed after image validation.
E: Unable to find bootable image

This config was working when multi image update was not enable. 

To be sure, that was not my project who create this error, i try it in ncs courses intermediation lesson 8 exercise 3; and issue still occurs.

Is there any config i missing on mcuboot.conf or hci_ipc.conf ?

To test it, you only need to add the config on prj.conf in this lesson.

I am using nrf5340dk abd ncs sdk v2.6.1.

Best regards,

Julien

Related