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

  • Hi,

    1. I believe BL+APP is supported. The DFU master will do 2 phases DFU, replace the Bootloader first and then update the application.

    2. Why do you have to do app_valid_setting_apply.hex. Don't do that, just simply generate your application + bootloader .zip file using nrfutil. Don't do mergehex.

  • thank you for the comment.

    1. without app_valid_setting_apply.hex - when reboot, It starts Bootloader.
    2. app_valid_settings_apply.hex is from Nordic
    1. Please be more specific, you want to do OTA DFU to update app+BL or you want to flash app+BL using nrfjprog/JLink ?
  • OTA DFU Sorry for confusion

  • Then I don't see why app_valid_setting_apply.hex has anything to do here. Again, don't mergehex if you are doing APP+ BL update. To verify please try testing updating the BL, and the Application separately first.

1 2 3