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

Bootloader update OTA not working (Application OTA is working)

Hello,

I am tring to do a Bootloader update OTA using the bootlader DFU Dual Bank. Application update OTA is working fine while it is not the case for Bootloader update OTA.

For Bootloader update, I have tried with a Zip file and .bin + .dat files on NRFConnect (Android). In both scenarios, I can see that the file was successfully transferred to the nrf52. However the old bootloader does not get replaced with the new one. I have a led on the boards that tells me which bootloader is active. The leds shows the old boatloader running even that the transfer of the files was successful

SDK Version: 11 Chip: NRF52 softdevice: s132 2.0.0 The files were generated with nrfutil.exe

Application OTA is working perfectly. I just need to replace the bootloader OTA to support the Watchdog.

Any idea why the Bootlader update OTA is not working? and why i am not receiving any error message?

Thank you, Karim

  • @Karim: Was there any other modification added to the bootloader ?

    If you have your board for testing, you can do what I suggested, to change the bootloader to support debugging (or add your UART trace) and check why the bootloader is not replaced. It's not a black box that can't be debug. To change the bootloader to debug mode have a look at this.

    This function dfu_bl_image_swap() should be called for the replacement of the bootloader. You can start with that.

    I also suggest you to test with the original bootloader example, just to check if you can replace the bootloader with it.

Related