Trouble getting MCUboot + signing working with NCS v3.1.0 (app won’t start)

Hi, I’m trying to enable signing with MCUboot in my NCS v3.1.0 project, but I can’t get the app to start once I turn on signing. The build succeeds, I flash build/merged.hex, the app doesn't run. Without signing it runs fine. Any guidance would be much appreciated. Thanks

These are my settings:

mcuboot/prj.conf

CONFIG_BOOT_SIGNATURE_TYPE_RSA=y
CONFIG_BOOT_SIGNATURE_KEY_FILE="/opt/nordic/ncs/v3.1.0/apps/myapp/keys/root-rsa-2048.pem"

sysbuild.conf

SB_CONFIG_BOOTLOADER_MCUBOOT=y
SB_CONFIG_BOOT_SIGNATURE_TYPE_RSA=y
SB_CONFIG_BOOT_SIGNATURE_KEY_FILE="/opt/nordic/ncs/v3.1.0/apps/myapp/keys/root-rsa-2048.pem"

 

Parents Reply Children
No Data
Related