Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

DFU fails with 0x05 response to Execute command after writing Init data.

I've successfully written DFU client code on a Debian host using Bluez a few years ago.  We are modifying our system to use a 52840 as a BLE client.  I'm able to write commands to the control point handle until after writing the Init data to the packet handle. 

The 0x05 error code says: "Data object does not match the firmware and hardware requirements, the signature is wrong, or parsing the command failed."

BTW, we cannot modify the target device firmware to use MCUboot.  I've included sniffer captures for the same file for comparison.  Thanks for any ideas.


Works_Bluez_version.pcapngBT840_Exe_fails_with_0x05.pcapng

Parents Reply
  • I found this bug.  We are using the same Debian host to process the zip file and transfer the Init and binary files over UART to the BT840 module.  I was printing out the last 10 bytes of each to verify the data.  This caused me to miss that the first 8 bytes being sent were wrong.  I was freeing memory before I sent it in my Debian code. 

    So now I'm getting past that part but get a seg fault writing the binary firmware.  Maybe another ticket.  Thanks.

Children
No Data
Related