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

Changing the Serial DFU bootloader to OTA DFU bootloader.

I have bootloader that supports Serial(HCI) DFU on the nrf52832 device which I have to update to Bootloader that supports OTA DFU and also a new application firmware. I tried following things:

  • generated a combined zip of new bootloader and new application and tried DFU through serial. It worked for small time and then gave an error. The bootloader gets updated but not the new application.
  • tried updating the new application zip and then the new bootloader zip. The serial dfu process executes successfully but the device is stuck in new bootloader and the application firmware doesn't start.

I am using SDK11 and softdevice version s132

So how should I proceed about this issue?

Parents
  • Hi Sourabh,

    I would suggest you verify first:

    • If the new OTA bootloader work properly (when flashing using a programmer)
    • If any bootloader setting are conflict between the Serial and the BLE bootloader

    You should try to update only the OTA bootloader first and then try to do OTA DFU the application. Just to make sure all of them work together.

    Then you can start to debug the bootloader and check why it doesn't jump to the application. You can also read out the flash (nrfjprog.exe --readcode ) and compare the hex to see what could be the difference.

Reply
  • Hi Sourabh,

    I would suggest you verify first:

    • If the new OTA bootloader work properly (when flashing using a programmer)
    • If any bootloader setting are conflict between the Serial and the BLE bootloader

    You should try to update only the OTA bootloader first and then try to do OTA DFU the application. Just to make sure all of them work together.

    Then you can start to debug the bootloader and check why it doesn't jump to the application. You can also read out the flash (nrfjprog.exe --readcode ) and compare the hex to see what could be the difference.

Children
No Data
Related