In single bank mode, need upgrade bootloader by DFU. Performing below procedure, APK shows "transfer complete". Application on target device is disappeared, but bootloader is still running with older one. We made some changes to tell new bootloader from the old. Here are procedure we performed:
- Build bootloader image.
- Generate settings.hex, and combine BL.hex with settings.hex
==========================================================
"../nrfutil/nrfutil.exe" settings generate --family NRF52 --bootloader-version 2 --bl-settings-version 1 ./Objects/settings.hex
"c:/Program Files (x86)/Nordic Semiconductor/nrf5x/bin/mergehex.exe" -m ./Objects/XXXX_bootloader_nrf52832_s132.hex ./Objects/settings.hex -o ./Objects/XXXX_BootLoaderSettings.hex
"../nrfutil/nrfutil.exe" pkg generate --hw-version 52 --sd-req 0x8C --bootloader-version 3 --bootloader ./Objects/XXXX_BootLoaderSettings.hex --key-file ../nrfutil/priv.pem ./Objects/XXXX_DFU_BLv3.zip
==========================================================
- Copy XXXX_DFU_BLv3.zip to android phone.
- Run DFU.
- After DFU completes, run DFU to check changes in bootloader.
Is anything missed? Based on document and related discussions, this way should update bootloader. Any idea?