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

SoftDevice Upgrade OTA -DFU

Hi all,

I need to upgrade an nRF52 device with SoftDevice 5.0.0 and bootloader.

I have to upgrade from SD 5.0.0 to 7.2.0.

I use this command to generate the zip file:

nrfutil pkg generate bootloader+SD7.zip --hw-version 52 --sd-req 0x9D --sd-id 0x0101 --softdevice s132_nrf52_7.2.0_softdevice.hex --bootloader-version 2 --bootloader secure_bootloader_ble_s132_custom.hex --key-file custom_priv.pem

When I program new SD 7 and bootloader using nRFgo Studio everything is ok. When I upgrade by OTA then the device doesn't restart correctly.

What am I doing wrong?

Thanks in advance.

Stevasway

Parents
  • Hi Stevasway,

    I assume the bootloader here (secure_bootloader_ble_s132_custom.hex) is built for the SoftDevice you are upgrading to, S132 7.2.0? If so this should work, but the application will be deleted in the process. So the device will enter DFU mode after reset, allowing you do DFU in an application. Is that what happens? If not, what happens when you write that "device doesn't restart correctly"?

    Einar

Reply
  • Hi Stevasway,

    I assume the bootloader here (secure_bootloader_ble_s132_custom.hex) is built for the SoftDevice you are upgrading to, S132 7.2.0? If so this should work, but the application will be deleted in the process. So the device will enter DFU mode after reset, allowing you do DFU in an application. Is that what happens? If not, what happens when you write that "device doesn't restart correctly"?

    Einar

Children
Related