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

BLE DFU fails when transferring softdevice + app

Hi

We're trying to transfer a zip file OTA that consists of both the softdevice and the app. We are using nrf52840 with SDK 14.2.0 and softdevice v6.0.0-6.alpha, and are following the example found in the Nordic playgroud. So far, we have been successful in transferring an app over without any issue. When we try and transfer a both app and softdevice, the OTA process proceeds normally, the app shows that the image is being transferred and the message "Uploading part 1/2" is displayed. However, as soon as part 1/2 is complete, the message "Disconnecting" appears, followed by "Connecting", but that never succeeds and the firmware upgrade process fails.

We have used the nrfutil utility to generate a zip file containing both the softdevice and the app as follows:-

nrfutil.exe pkg generate --sd-req 0xFFFE --sd-id 0xFFFE --hw-version 52 --application-version 4 --application App.hex --softdevice s140_nrf52840_6.0.0-6.alpha_softdevice.hex --key-file key_file.txt App_plus_sd.zip

Any idea why this is happening and what we need to do to fix this?

Related