Hello,
I'm struggling understanding how DFU works on nRF52840.
I know I can update the firmware via the Connector application, but I'm trying to use the nrfutil over command line,
but every time I try I get this message:
$ sudo nrfutil dfu usb-serial -pkg cli_pca10059_mbr.zip -snr DBF59BCC7C44 Traceback (most recent call last): ... Extended Error 0x07: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice
Figured it must be that SoftDevice library does not correspond to the package provided, which was created as:
$ sudo nrfutil pkg generate --application nRF5_SDK_16.0.0_98a08e2/examples/peripheral/cli/hex/cli_pca10059_mbr.hex cli_pca10059_mbr.zip --hw-version 52 --sd-req 0xBA --application-version-string "1.1.1"
I've tried different SoftDevice version but none is working.
Can you provide me a consistent way to DFU the nRF52840 dongle with nrfutil ?
If it's the first time I load a firmware onto his flash, how must I do it ?
Thanks