Hello,
We're migrating our code base on the nRF52840 from nRF5 SDK to nRF Connect SDK v2.4.2 with NSIB as the first stage bootloader and MCUBOOT as second stage upgradable bootloader. It's working fine, we are able to update the MCUBOOT and application over BLE.
As a next step, we're exploring how to use the prebuilt hex files for both NSIB and MCUBOOT as we may not need to update the bootloader often and to speed up the building process rather than rebuilding them every time building the application code.
Configurations in the prj.conf are as followed:
# Immutable nRF secure boot CONFIG_SECURE_BOOT=y CONFIG_SB_SIGNING_KEY_FILE="b0_key.pem" CONFIG_BUILD_S1_VARIANT=n CONFIG_B0_BUILD_STRATEGY_USE_HEX_FILE=y CONFIG_B0_HEX_FILE="b0.hex" # Upgradable MCUboot CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_BOOT_SIGNATURE_KEY_FILE="mcuboot_key.pem" CONFIG_MCUBOOT_BUILD_STRATEGY_USE_HEX_FILE=y CONFIG_MCUBOOT_HEX_FILE="mcuboot.hex"