"Error during download get_status" [during DFU firmware flash]

I was setting up my third Photon and ran into problems…

All went well until I did not get breathing cyan but ultimately "nearly steady/not blinking] green. Got back to blinking blue…tried again…but hung up with checking user ownership…

I did a factory reset and got to steady white. I understand next is use dfu-util to reflash.

I tried to reflash both 0.43 and 0.42 with Photon on DFU mode [blinking yellow].

In both cases part 1 loaded ok. Part 2 looked to be loading ok but ended with an error message:

dfu-util: Error during “download get_status”

Power off and Power back up just gets back to steady white.

Any help/suggestions?

Greatly appreciate assistance here. I am dead in the water.

Tom

Can you remember what the preceding lines to your error message were?

If it stated

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status

It’s no problem, this is a well known behaviour and does not mean that the flash was unsuccessfull.

You might want to update CLI

npm -g update particle-cli

Then try to put your dodgy Photon into safe mode an reflash Tinker

particle flash --usb tinker

This is the error that I get. I am running dfu-util on a linux workstation

Tom


Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device…
ID 2b04:d006
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 = 0x08060000, size = 151192
Download [=========================] 100% 151192 bytes
Download done.
File downloaded successfully
dfu-util: Error during download get_status

And the device is solid white before I put it in DFU mode and returns to solid white immediately after the firmware push

any suggestions?

I am on the same boat as you.

Hope that we can get some assistance.

Can you please post the exact statements you’re entering when doing both parts and the output of either part too.
After part1 wait that the Photon reaches a steady state (blinking yellow again).

Area you using CLI via USB or dfu-util?

I’ll ping @mdma to have a look

I am using dfu-util. I entered the lines as follows:

dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.4.3-photon.bin
dfu-util -d 2b04:d006 -a 0 -s 0x8060000:leave -D system-part2-0.4.3-photon.bin

I do have blinking yellow after part 1 upload.

The session for part 2 is as follows:
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device…
ID 2b04:d006
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 = 0x08060000, size = 151192
Download [=========================] 100% 151192 bytes
Download done.
File downloaded successfully
dfu-util: Error during download get_status

Have you had a look at this topic already
Particle Photon led stuck on solid white, factory reset procedure not working

You might have gone through all of that, but till some of the real guys can answer back, this might give you some ideas what else to try.

Sorry that I can’t help you any further :sweat:

I have seen that post but it does not seem to help.

I dfu-util part 1 and the photon remains flashing yellow
I dfu-util part 2 and as above and the photon immediately returns to solid white

holding down setup gives me in turn:

Blinking [at same time?] blue and red - relase gives solid white
Holding down longer gives blinking yellow - on release stays blinking yellow

Holding down even longer gives blinking green - release gives solid white

Holding reset turns off led and relase after any length of time gives solid white

Tom

I’m getting exactly what Tom describes - hoping someone can help…

Aha! particle flash --usb tinker-photon.bin yielded the same solid white.

From there, held setup and tapped reset, then released on magenta. Went back to solid white, then blinked blue. particle setup wifi, added credentials - all working again!

1 Like