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

DFU upload failed

Hi,

I have seen similar questions to this, but I could not make it work. I am trying to upload a new code using DFU by means of a smartphone (using nRF Connect) or PC (using Master Control Panel), without success. The code uploads correctly till 100% but then at the very end it gives me an error (upload failed).

I am using nrf51822, SDK 11, s130 (v2.0.1). I generate the .zip converting the .hex to .bin and then using nrfutil in commad prompt:

nrfutil dfu genpkg --application "..........\Users\Dani\Desktop\nrf\app.bin" --application-version 0xFFFFFFFF --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0x0087 "..........\Users\Dani\Desktop\dfu_app.zip"

I manage to get the nrf51822 to DFU mode but when I try to upload it fails.

Maybe it has something to do with the way to generate the .zip file. I use 0x0087 code as in nRFgo Studio the softdevice is recognized as 0x0087.

Could someone help me?

Log of Master Control Panel: log.txt I only copied the last part of the log after trying to upload by DFU because it is really long.

The generated .zip file (I used an example of SDK 11 ble_app_hrs_rscsc_relay) : dfu_app.zip It has been generated by: nrfutil dfu genpkg --application "..........\Users\Dani\Desktop\nrf\app.hex" --application-version 0xFFFFFFFF --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0xFFFE "..........\Users\Dani\Desktop\dfu_app.zip"

Thank you

Related