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

What can I do if I want to dfu Bootloader and Application

  1. my company already have firmware with nRF51 and SDK11
  2. recently, we made new Firmware
  • watchdog timer feature
  • so we modified application and bootloader

now, we want to make zip file for DFU. so end user can upgrade their firmware of device.

Question 1. how can I make a zip file for bootloader+application version

  • in manual, it said, we cannot make BL+APP version zip. is it right?

Question 2. our old firmware had to make hex file with BL+SD+APP and "app_valid_setting_apply.hex" using mergehex.exe

as I know "app_valid_setting_apply.hex" is provided from Nordic and it prevents loading bootloader instead of Application, just after firmware programming.

If I had to make BL+APP version zip file, how can I make it with "app_valid_setting_apply" using nrfutil.exe

Parents
  • Hung Bui.

    After long holiday in Korea, I tried and failed.

    Let me clear my situation.

    1. My device has firmware with BL+APP+SD+ (SD130 v2.0.0, SDK11)

    2. I make firmware with app_valid_setting_apply.hex which make Application running (not Bootloader)

    3. I want to upgrage Bootloader and Application (watchdog timer added version) via DFU OTA (using nRF connect app of Android)

    4. so, I make BL+APP zip file with nrfutil.exe

    • nrfutil.exe dfu genpkg --bootloader hex\inoon_wdt_dfu_dual_bank_ble_s130_pca10028.hex --application hex\nrf51822_xxac_s130_v3.1.8.hex hex\gper2_bl_app_v3.1.8.zip
    1. did DFU, but device is not working
Reply
  • Hung Bui.

    After long holiday in Korea, I tried and failed.

    Let me clear my situation.

    1. My device has firmware with BL+APP+SD+ (SD130 v2.0.0, SDK11)

    2. I make firmware with app_valid_setting_apply.hex which make Application running (not Bootloader)

    3. I want to upgrage Bootloader and Application (watchdog timer added version) via DFU OTA (using nRF connect app of Android)

    4. so, I make BL+APP zip file with nrfutil.exe

    • nrfutil.exe dfu genpkg --bootloader hex\inoon_wdt_dfu_dual_bank_ble_s130_pca10028.hex --application hex\nrf51822_xxac_s130_v3.1.8.hex hex\gper2_bl_app_v3.1.8.zip
    1. did DFU, but device is not working
Children
No Data
Related