Photon Stuck in DFU mode? [SOLVED]

I have a gnarly issue with a recalcitrant Photon.

Flashing / Blinking Yellow after a firmware update. Power cycling returns it to Flashing Yellow. it is in DFU mode, I can re-flash it no problem.

Has anyone seen this… I really did try searching for a while, and I did try ‘factory reset’

In regards to:

Please check out this topic, in case you hadn't done so.

Updating to the newer firmware might just fix your issues :slight_smile:

Hey Jordy,

that's kinda what got me there...

yes, I did see that thread regarding good advice not to reset!!! a little to late I'm afraid, however.

Are you saying my Photon is dead?

thanks,

Jim

I’m not sure if it’s dead, and I certainly hope it isn’t. Best to wait for @mdma on this one.
Did you update both files over DFU? After the first one, it’s supposed to still be in DFU mode, if I remember correctly. After the part 2, it should leave DFU mode. Can you get it into safe mode?

no :expressionless:

Just Yellow Flash with D7 led lit...

So to check my understanding:

  • you’ve flashed the 0.4.3 firmware
  • the device stays in DFU mode, even after being reset

Is that correct?

exactly, not good right?

Can you enter any other modes, like safe mode (I.e. does the LED at least start a different color?)

If it’s persistently in DFU mode that could mean the firmware isn’t valid. Please double check you downloaded the right files (photon vs P1) and flashed them to the correct locations.

tried it agian to no avail, but here is the response:

JimMacBookPro:downloads bjames$ dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.4.3-photon.bin
dfu-util 0.7

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

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device... ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08020000, size = 248732
.............................................................
File downloaded successfully
JimBrowerMacBookPro:downloads browerjames$ dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part2-0.4.3-photon.bin
dfu-util 0.7

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

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device... ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08020000, size = 151192
.....................................
File downloaded successfully

Is there anything I can do here?

You’re flashing system-part2 to the wrong address. It should be 0x8060000. If in doubt, it’s best to copy and paste the command lines from the instructions. :wink:

1 Like

yeah... not a proud moment for me!

Flashing blue... thanks!!

1 Like

Legend! you saved me heaps of time and frustration for the very first problem we devs have… not reading properly!

Thank you!