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

DFU-OTA bootloader only once

Hi,

I'm using the nrf5283 chip alongside with the SDK12.1. I have a strange situation related with the bootloader dfu.

First I flash with the programmer a merged hex file that contains SD+BL+APP. Afterwards, I try to update the bootloader using the secure DFU service (I'm using the bootloader from the example in the SDK without any change generating the .zip with nrfutil pkg generate). The DFU process works fine this first time.

However, If I try to update again the Bootloader (using the same .zip package) the nRF Connect gives this error message.

image description

The process fails using nRF Connect or the Android nRF Toolbox app.

In this situation I'm able to update the SD or APP unlimited times without any problem.

Somebody has an explanation about only being able to update the bootloader once?

Update 12/07/2017

Attach the bootloader.zip and SD132V3.0.0+secure_BT.hex

Secure_bootloader.zip SD_BL.hex

Parents
  • Hi Jose,

    I'm really sorry. I forgot about version requirement. The bootloader won't allow you to update the bootloader with same version number. Please have a look at the version number rule here.

    I suspect on the first update the bootloader version number was not written. After that the version number is updated with the current number and then it won't allow you to update the same bootloader version again.

Reply
  • Hi Jose,

    I'm really sorry. I forgot about version requirement. The bootloader won't allow you to update the bootloader with same version number. Please have a look at the version number rule here.

    I suspect on the first update the bootloader version number was not written. After that the version number is updated with the current number and then it won't allow you to update the same bootloader version again.

Children
Related