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

problem of nrf52832 softdevice 2.0.0 OTA update

hi, i want to update firmware by OTA from sdk11.0.0_89a8197 to SDK_15.2, but can not scucess.

i tried follow command to build a zip file.

nrfutil pkg generate --hw-version 52 --bootloader-version 1 --bootloader "boot.hex" --application-version 1 --application "app.hex" --sd-req 0x81,0xAF --sd-id 0xAF --softdevice "s132_nrf52_6.1.0_softdevice.hex" --key-file private.key "app.hex.zip"

nrfutil version is 4.0.0

pls help.

Parents
  • Hi,

    Upgrading from the legacy (none-secure) bootloader in SDK 11 to the secure bootloader is not supported, as the secure bootloader is larger in size, and therefore needs to start at a lower address. Moreover, you cannot upgrade the SoftDevice version without also upgrading the bootloader, since the bootloader uses the SoftDevice for BLE communication. It is possible to work around this by using a temporary bootloader that rewrites the UICR register as described in this post, but you should be aware that you risk bricking the device if an error or reset occurs at a bad time during this process.

Reply
  • Hi,

    Upgrading from the legacy (none-secure) bootloader in SDK 11 to the secure bootloader is not supported, as the secure bootloader is larger in size, and therefore needs to start at a lower address. Moreover, you cannot upgrade the SoftDevice version without also upgrading the bootloader, since the bootloader uses the SoftDevice for BLE communication. It is possible to work around this by using a temporary bootloader that rewrites the UICR register as described in this post, but you should be aware that you risk bricking the device if an error or reset occurs at a bad time during this process.

Children
Related