Hi,
I am trying to create a combined Bootloader + Bootloader Settings + Application hex file to flash the same into the devices during the production.
Bootloader Project:
pca10056_uart
Bootloader Settings:
nrfutil settings generate --family NRF52840 --application Firmware_PD52840V1R1.hex --application-version 0 --bootloader-version 0 --bl-settings-version 2 bootloader_settings.hex
Please note that I didn't give --no-backup as a parameter when creating settings.
Merging Files:
Bootloader and Settings
mergehex --merge secure_bootloader_uart_mbr_pca10056.hex bootloader_settings.hex --output BL_And_Settings.hex
BL+Settings and Applcation
mergehex --merge BL_And_Settings.hex Firmware_PD52840V1R1.hex --output finalMergedFile.hex
I noticed that, this is just updating the Bootloader settings in bank_0 and bank1 is filled by null. As the BL checks for the settings in Bank 1, even with the valid applicaton present, the BL isn't jumping to the application.
May I know what should I do to get the BL settings in Bank1?