nrfjprog -f nrf52 --eraseall
nrfutil settings generate --family NRF52 --application ble_app_hrs_pca10040_s132.hex --application-version 0 --bootloader-version 0 --bl-settings-version 2 bl_setting.hex --no-backup
mergehex --merge bl_setting.hex secure_bootloader_ble_s132_pca10040_debug.hex s132_nrf52_7.0.1_softdevice.hex --output bl_set_secboot_sds132.hex
mergehex --merge bl_set_secboot_sds132.hex ble_app_hrs_pca10040_s132.hex --output bl_set_s132_app.hex
nrfjprog -f nrf52 --program bl_set_s132_app.hex