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 just checked the bootloader in SDK v11 again, seems that the combination bootloader+application is not supported in this bootloader.

    In the new secure bootloader from SDK v12 we do support all combinations.

    If I recall correctly, when the bootloader is updated, it automatically mark the application as invalid and wait for an update.

    If it's OK for you to do two step, first update the bootloader, 2nd update the application via OTA. Then you don't need to modify anything.

    If you really need to have application+bootloader, we can think of modifying the bootloader so it won't check for application valid in the bootloader setting on the first time it starts.

Reply
  • Hi Sourabh,

    I just checked the bootloader in SDK v11 again, seems that the combination bootloader+application is not supported in this bootloader.

    In the new secure bootloader from SDK v12 we do support all combinations.

    If I recall correctly, when the bootloader is updated, it automatically mark the application as invalid and wait for an update.

    If it's OK for you to do two step, first update the bootloader, 2nd update the application via OTA. Then you don't need to modify anything.

    If you really need to have application+bootloader, we can think of modifying the bootloader so it won't check for application valid in the bootloader setting on the first time it starts.

Children
No Data
Related