"dfu-util: Invalid DFU suffix signature" warning with dfu-util 0.9 on OS X

More an alert than a warning, but worth noting. Everything is working but the file load generates a warning.

I’m on this version of dfu-util, installed with Homebrew:

Edwards-MacBook-Air:Downloads emv$ dfu-util --version
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

When I (successfully) load some firmware onto an Electron from my Mac, I get this warning:
dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

The full log is below.

Edwards-MacBook-Air:Downloads emv$ particle flash --usb firmware.bin
Found DFU device 2b04:d00a
checking file firmware.bin
spawning dfu-util -d 2b04:d00a -a 0 -i 0 -s 0x08080000:leave -D firmware.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 2b04:d00a
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x08080000, size = 22436
Download	[=========================] 100%        22436 bytes
Download done.
File downloaded successfully

Flash success!

This is a known issue but not a blocker. I’m not sure of the timeline to resolve this however.

1 Like

Hello,

I am getting the same invalid dfu suffix error, only my firmware will not load. Is there any update on this problem yet? Also what do you mean it is not a blocker? I tried to upload the tinker firmware and that still will not work.

Thanks.

The

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

can be ignored.

What device are you using, and how are you flashing your firmware? Are you using

particle flash --usb firmware.bin

?

I am using the photon and I am flashing the firmware with “particle flash --usb /Users/jaredcasebeer1/Desktop/ParoCollarVer2.bin” This has worked on 3 other photons with no problem. This photon is giving me the red flash for Hard Fault and will not let me go into safety mode. The file size is 23420 bytes. Thanks.

Are you able to flash the default tinker firmware with dfu-util?

particle flash --usb tinker

This should clear any problematic user code.

Also you should try updating the system firmware on your Photon. Put your Photon into dfu mode and try:

sudo npm update -g particle-cli
particle update

I have tried flashing tinker but it doesn’t work either. I tried updating with “sudo npm update -g particle-cli” and it doesn’t do anything. I tried “particle update” and it gave me this error:

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

dfu-util: Error during special command “ERASE_PAGE” get_status

1 Like

Was there any resolution to this? I’m getting the same errors on an Electron. I’ve set up my firmware on 10 units (and all has been well for days - weeks) and the 11th Electron gave me this error. I can’t flash the OS firmware. And device doctor reports the same error… Suddenly I can’t do anything.

What version CLI are you running on what host OS?
What happens when you run particle flash --usb tinker -v?
What happens with particle update -v?
Can you post the output of particle serial inspect (in Listening Mode)?

The Electron had been working fine. I did a “particle update” which failed (see below). The device was then in a weird state. Although I could put it into DFU mode, even that failed after awhile. The status LED was OFF and the D7 LED was on at about half power. I’m including the Serial Output below. The device became unresponsive the more I tried to do. This device was previously working fine. The current rev of firmware had been flashed to 6 or 7 other Electrons already (just prior) so I was doing the same thing over and over. After I posted the earlier item, I went to my next Electron and it flashed correctly. I then went back to the “bad” one. Powered it off and restarted it again. This time it went into DFU mode (surprisingly) and everything proceeded normally - so I have no clue as to why it became so uncooperative. I don’t mind having a problem when I know what I can do to fix it, but this seemed pretty random. The log below shows what I did - the second to last “particle update” was done on the “next” Electron after I gave up on the “bad” one. When that worked, I went back and tried the “bad” one - and it too worked.
Chucks-MacBook-Pro-3424:~ Chuck_Allen$ particle update

> Your device is ready for a system update.

> This process should take about 30 seconds. Here it goes!

! An error occurred while attempting to update the system firmware of your device:

dfu-util: Invalid DFU suffix signature

dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

dfu-util: Error during special command “ERASE_PAGE” get_status

> Please visit our community forums for help with this error:

https://community.particle.io/

Cannot read property ‘code’ of undefined

Chucks-MacBook-Pro-3424:~ Chuck_Allen$ particle update

> Your device is ready for a system update.

> This process should take about 30 seconds. Here it goes!

! An error occurred while attempting to update the system firmware of your device:

dfu-util:

Invalid DFU suffix signature

dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

dfu-util: error get_status

> Please visit our community forums for help with this error:

https://community.particle.io/

Cannot read property ‘code’ of undefined

Chucks-MacBook-Pro-3424:~ Chuck_Allen$ particle device doctor

The Device Doctor will put your device back into a healthy state

It will:

  • Upgrade system firmware

  • Flash the default Tinker app

  • Reset the device and server keys

  • Clear the Wi-Fi settings

The Doctor will operate on your Electron connected over USB

You’ll be asked to put your device in DFU mode several times to reset different settings.

Updating system firmware

Put the device in DFU mode

Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.

? Select Continue when ready Continue

> Your device is ready for a system update.

> This process should take about 30 seconds. Here it goes!

! An error occurred while attempting to update the system firmware of your device:

dfu-util: Invalid DFU suffix signature

dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

dfu-util: error get_status

> Please visit our community forums for help with this error:

https://community.particle.io/

The Doctor didn’t complete sucesfully. Cannot read property ‘code’ of undefined

> Please visit our community forums for help with this error:

https://community.particle.io/

Chucks-MacBook-Pro-3424:~ Chuck_Allen$ particle update

> Your device is ready for a system update.

> This process should take about 30 seconds. Here it goes!

! System firmware update successfully completed!

> Your device should now restart automatically.

Chucks-MacBook-Pro-3424:~ Chuck_Allen$ particle update

> Your device is ready for a system update.

> This process should take about 30 seconds. Here it goes!

! System firmware update successfully completed!

> Your device should now restart automatically.

Chucks-MacBook-Pro-3424:~ Chuck_Allen$