This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ota: how to update bootloader

Hi,

in nrf connect app i see it is possible to update bootloader over ota. How do i generate ota file properly? I tried generating zip and hex but the app says "no matching files"

nrfutil.exe dfu genpkg fw_bootloader.hex --bootloader 001B_SDK11\examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm5_no_packs\_build\nrf52832_xxaa_s132.hex --application-version 0xffffffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
Parents
  • @Gozard: You should generate .zip file, not .hex file. The script should be like this:

    nrfutil.exe dfu genpkg fw_bootloader.zip --bootloader 001B_SDK11\examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm5_no_packs\_build\nrf52832_xxaa_s132.hex --application-version 0xffffffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
    

    When you provide .zip file, the nRFToolbox won't ask for init data file.

Reply
  • @Gozard: You should generate .zip file, not .hex file. The script should be like this:

    nrfutil.exe dfu genpkg fw_bootloader.zip --bootloader 001B_SDK11\examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm5_no_packs\_build\nrf52832_xxaa_s132.hex --application-version 0xffffffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
    

    When you provide .zip file, the nRFToolbox won't ask for init data file.

Children
No Data
Related