# Photon stuck in DFU mode

**URL:** <https://community.particle.io/t/photon-stuck-in-dfu-mode/48604>\
**Category:** Troubleshooting\
**Tags:** photon\
**Created:** [March 22, 2019, 8:18am UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604 "2019-03-22T08:18:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kat](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kat](https://community.particle.io/u/kat)\
**Post date:** [March 22, 2019, 8:18am UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/1 "2019-03-22T08:18:36Z")

</div>

Hey guys, I need your help i have been using a photon for a couple of months now and it has been working well until the day before yesterday. firstly it was stuck in white mode and i kept on researching here in forum until i managed to take it to DFU mode and now i cannot take it out from this mode, It continues to blink yellow and i cannot get in any other mode. Here’s what i have tried so far:

1. Tried to get into safe mode, when I see the magenta LED and and release the setup button, it promptly starts fast blinking yellow.  
2). Used “particle update" in CLI but the error message appear “Error occurred while attempting to update the system firmware of your device”.  
3)“Particle device doctor” i still get the error message "“Error occurred while attempting to update the system firmware of your device”.  
4)Tried to update the firmware to 0.7.0 and it successfully update but still goes back to flashing yellow even after i press reset button

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [March 22, 2019, 10:57am UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/2 "2019-03-22T10:57:48Z")

</div>

What host OS are you using?  
Do you get more info when running `particle update -v`?  
What do you get running `dfu-util --list`?  
Can you try a different USB cable and/or port?  
What do you get with `particle flash --usb tinker -v`?

---

<div class="post-metadata">

**Author:** ![kat](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kat](https://community.particle.io/u/kat)\
**Post date:** [March 22, 2019, 11:25am UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/3 "2019-03-22T11:25:55Z")

</div>

**I am using windows 8.1.**

**When i run _particle update -v_ this is what i get**

C:\Users\Bigmahn\>particle update -v

> Your device is ready for a system update.  
> This process should take about 50 seconds. Here it goes!

▀ Updating system firmware on the device...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/](http://sourceforge.net/p/dfu-util/tickets/)

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 = 0x080c0000, size = 131072  
▐ Updating system firmware on the device...Invalid DFU suffix signature  
A valid DFU suffix will be required in a future dfu-util release!!!  
Cannot open DFU device 2b04:d006  
Error during special command "ERASE\_PAGE" get\_status

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

Invalid DFU suffix signature  
A valid DFU suffix will be required in a future dfu-util release!!!  
Cannot open DFU device 2b04:d006  
Error during special command "ERASE\_PAGE" get\_status

> Please visit our community forums for help with this error:  
> [https://community.particle.io/](https://community.particle.io/)  
> Cannot read property 'code' of undefined  
> TypeError: Cannot read property 'code' of undefined  
> at dfuError (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\particle-cli\dist\cmd\update.js:113:17)  
> at dfu.findCompatibleDFU.then.catch.err (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\particle-cli\dist\cmd\update.js:21:11)  
> at tryCatchReject (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\when\lib\makePromise.js:845:30)  
> at runContinuation1 (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\when\lib\makePromise.js:804:4)  
> at Rejected.when (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\when\lib\makePromise.js:625:4)  
> at Pending.run (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\when\lib\makePromise.js:483:13)  
> at Scheduler.\_drain (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\when\lib\Scheduler.js:62:19)  
> at Scheduler.drain (C:\Users\Bigmahn\AppData\Local\particle\node\_modules\when\lib\Scheduler.js:27:9)  
> at \_combinedTickCallback (internal/process/next\_tick.js:132:7)  
> at process.\_tickCallback (internal/process/next\_tick.js:181:9)

**And when i run _dfu-util --list_ i get**

Microsoft Windows [Version 6.3.9600]  
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Bigmahn\>dfu-util --list  
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/](http://sourceforge.net/p/dfu-util/tickets/)

Cannot open DFU device 2b04:d006  
Found DFU: [2b04:d006] ver=0250, devnum=3, cfg=1, intf=0, path="3-1.4", alt=1, name="@DCT Flash /0x00000000/01_016Kg", serial="18002a000347353137323334"  
Found DFU: [2b04:d006] ver=0250, devnum=3, cfg=1, intf=0, path="3-1.4", alt=0, name="@Internal Flash /0x08000000/03_016Ka,01_016Kg,01_064Kg,07\*128Kg", serial="18002a000347353137323334"

C:\Users\Bigmahn\>

**And yes i have tried all USB ports and different cable but no luck**

**And this is what i get when i run _particle flash --usb tinker -v_**

C:\Users\Bigmahn\>particle flash --usb tinker -v  
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/](http://sourceforge.net/p/dfu-util/tickets/)

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 = 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  
DfuSe interface name: "Internal Flash "  
Downloading to address = 0x080a0000, size = 5324  
Download [] 0% 0 bytesInvalid DFU suffix signature  
A valid DFU suffix will be required in a future dfu-util release!!!  
Cannot open DFU device 2b04:d006  
Error during special command "ERASE\_PAGE" get\_status  
Error writing firmware: Invalid DFU suffix signature  
A valid DFU suffix will be required in a future dfu-util release!!!  
Cannot open DFU device 2b04:d006  
Error during special command "ERASE\_PAGE" get\_status

VError: Error writing firmware: Invalid DFU suffix signature  
A valid DFU suffix will be required in a future dfu-util release!!!  
Cannot open DFU device 2b04:d006  
Error during special command "ERASE\_PAGE" get\_status

```
at Promise.resolve.then.then.then.then.then.then.catch.err (C:\Users\Bigmahn\AppData\Local\particle\node_modules\particle-cli\dist\cmd\flash.js:157:10)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)

```

caused by: Error: Invalid DFU suffix signature  
A valid DFU suffix will be required in a future dfu-util release!!!  
Cannot open DFU device 2b04:d006  
Error during special command "ERASE\_PAGE" get\_status

```
at ensureError (C:\Users\Bigmahn\AppData\Local\particle\node_modules\particle-cli\dist\lib\utilities.js:595:11)
at Promise.resolve.then.then.then.then.then.then.catch.err (C:\Users\Bigmahn\AppData\Local\particle\node_modules\particle-cli\dist\cmd\flash.js:157:21)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)

```

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [March 22, 2019, 12:03pm UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/4 "2019-03-22T12:03:55Z")

</div>

That output suggests you haven’t got the required drivers installed.  
How does your Photon show up in Device Manager?

---

<div class="post-metadata">

**Author:** ![kat](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kat](https://community.particle.io/u/kat)\
**Post date:** [March 22, 2019, 12:54pm UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/5 "2019-03-22T12:54:12Z")

</div>

![device%20manager](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/b/4/b483968b15a826f54d5abb4058977c9d821931c5.png)

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [March 22, 2019, 1:12pm UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/6 "2019-03-22T13:12:40Z")

</div>

That looks fine, so the issue must be rooted somewhere else.  
What version CLI have you got (`particle --version`) - most recent is 1.40.0

---

<div class="post-metadata">

**Author:** ![kat](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kat](https://community.particle.io/u/kat)\
**Post date:** [March 22, 2019, 1:24pm UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/7 "2019-03-22T13:24:29Z")

</div>

![particle%20version](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/9/7/978415ccef3507fab43cba4392974cc44c9eb470.png)

Yah well i am using the most recent one too 1.40.0

---

<div class="post-metadata">

**Author:** ![kat](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kat](https://community.particle.io/u/kat)\
**Post date:** [March 22, 2019, 1:33pm UTC](https://community.particle.io/t/photon-stuck-in-dfu-mode/48604/8 "2019-03-22T13:33:00Z")

</div>

I hope my photon isn’t broken though because i am pretty sure i did not do any harm on it, it just went to solid white on its own and i had to try to troubleshoot it where i have managed to take it back to DFU mode just so i can trobleshoot it easily.

I have been running this photon to switch on the OLED and use it as a user interface so my job was to upload the code via WiFi but then i have several photons that have the same firmware and the firmware is running very well on other photons meaning i can’t say it’s a firmware that broke it because all of my photons are in one fleet so i just push the firmware to all of them at once.
