This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with OTA DFU using nrfutil

I would like to perform a OTA DFU in a nRF52840 DK using nrfutil. For that, I'm using the example that is in SDK/examples/dfu/secure_bootloader/pca10056_s140_ble in the target. Here are the commands I use to build the.zip and to perform the DFU:

nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52840_xxaa_s140.hex --sd-req 0xCA --key-file private.key app_dfu_package.zip

nrfutil dfu ble -ic NRF52 -pkg app_dfu_package.zip -p COM28 -n "MyDevice" -f

However, when trying to perform the DFU, I receive this error: 

pc_ble_driver_py.exceptions.NordicSemiException: Extended Error 0x07: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice.

How could I solve this problem? I'm using SDK 17.0.2 (softdevice s140_nrf52_7.2.0) and Keil5 as IDE.

Any help would be appreciated.

Parents
  • The error indicates that the SoftDevice you have listed as required (ID 0xCA) is not found on the device. Do you know which SoftDevice you built your application for, and which SoftDevice is already on the device you try to update? If it is the same, then you just need to use the correct SoftDevice ID with the --sd-req option. If the SoftDevice is not the same, then you should include also the SoftDevice in the package you generate.

Reply
  • The error indicates that the SoftDevice you have listed as required (ID 0xCA) is not found on the device. Do you know which SoftDevice you built your application for, and which SoftDevice is already on the device you try to update? If it is the same, then you just need to use the correct SoftDevice ID with the --sd-req option. If the SoftDevice is not the same, then you should include also the SoftDevice in the package you generate.

Children
No Data
Related