# Particle Photon Stuck in DFU mode

**URL:** <https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863>\
**Category:** Troubleshooting\
**Created:** [October 30, 2018, 1:29am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863 "2018-10-30T01:29:55Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![JL\_678](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jl_678/32/4391_2.png) [@JL\_678](https://community.particle.io/u/JL_678)\
**Post date:** [October 30, 2018, 1:29am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/1 "2018-10-30T01:29:55Z")

</div>

Hi,

I have been running a photon for about 2 years and in general it has been working well and is running on 0.6.3. Today, it stopped responding and when I checked on it, found it flashing yellow. Strange. I figured that something odd happened, but now I am wondering if it is actually dead. Here is 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. Go to the CLI and type “particle update” which appears to complete successfully but when the Photon restarts after blinking magenta briefly it starts fast blinking yellow again.
3. Manually update the Photon using the dfu-util command. Same result (e.g. successful flash followed by a brief magenta blink on boot and then back to flashing yellow.)

I am at a loss what to do next. Is this thing just dead or am I doing something wrong?

Thank you.

---

<div class="post-metadata">

**Author:** ![ninjatill](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ninjatill/32/17370_2.png) [@ninjatill](https://community.particle.io/u/ninjatill)\
**Post date:** [October 30, 2018, 4:19am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/2 "2018-10-30T04:19:17Z")

</div>

Flashing yellow is a Keys issue I believe. Try searching this forum for “particle keys”.

---

<div class="post-metadata">

**Author:** ![JL\_678](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jl_678/32/4391_2.png) [@JL\_678](https://community.particle.io/u/JL_678)\
**Post date:** [October 31, 2018, 1:36am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/3 "2018-10-31T01:36:15Z")

</div>

Hi,

I am not so sure. Anyway, based on your suggestion, I went and tried the following:

Particle device doctor

The app successfully flashes new firmware (the particle reboots afterwards and is flashing yellow again). It then flashes the device doctor app successfully. The program then fails with the following message:

> Blockquote  
> Flash success!  
> The Doctor didn't complete sucesfully[sic]. Could not find serial device. Ensure the Device Doctor app was flashed

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [October 31, 2018, 3:04am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/4 "2018-10-31T03:04:07Z")

</div>

Maybe there’s a bootloader problem?

Ping @rickkas7

---

<div class="post-metadata">

**Author:** ![ikendall](https://avatars.discourse-cdn.com/v4/letter/i/a587f6/32.png) [@ikendall](https://community.particle.io/u/ikendall)\
**Post date:** [May 30, 2019, 12:06am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/5 "2019-05-30T00:06:06Z")

</div>

I have the same issue - did you ever get a resolution to this?

---

<div class="post-metadata">

**Author:** ![JL\_678](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jl_678/32/4391_2.png) [@JL\_678](https://community.particle.io/u/JL_678)\
**Post date:** [May 30, 2019, 12:25am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/6 "2019-05-30T00:25:51Z")

</div>

No, I never figured it out and just gave up. I think that it was dead.

---

<div class="post-metadata">

**Author:** ![mstanley](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mstanley/32/20170_2.png) [@mstanley](https://community.particle.io/u/mstanley)\
**Post date:** [May 30, 2019, 12:49am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/7 "2019-05-30T00:49:38Z")

</div>

Hey @ikendall (and @JL_678, if you still have your unit!)

A device going to an immediate flashing yellow state can sometimes indicate a missing device OS or user application.

My recommendation would be to try and reflash the device OS, tinker, _and_ the bootloader through `particle flash` and see if that remedies the bad behavior.

[v1.2.1-rc.1](https://github.com/particle-iot/device-os/releases/tag/v1.2.0-rc.1) is our latest Device OS release at the time of this writing.

You will want to download and flash `photon-system-part1@1.2.0-rc.1.bin`, `photon-system-part2@1.2.0-rc.1.bin`, `photon-tinker@1.2.0-rc.1.bin` with `particle flash --usb <FILENAME>` while your device is in DFU mode.

Consider also putting your device into [listening mode](https://docs.particle.io/tutorials/device-os/led/photon/#listening-mode) and flashing the bootloader ( `photon-bootloader@1.2.0-rc.1.bin` ) through the command `particle flash --serial <FILENAME>` command.

If you still see the device entering this state after flashing the above 4 files, please be sure to let us know by filing a support ticket at [https://docs.particle.io/support/menu-base/](https://docs.particle.io/support/menu-base/) 🙂

---

<div class="post-metadata">

**Author:** ![ikendall](https://avatars.discourse-cdn.com/v4/letter/i/a587f6/32.png) [@ikendall](https://community.particle.io/u/ikendall)\
**Post date:** [May 30, 2019, 6:54pm UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/8 "2019-05-30T18:54:33Z")

</div>

I’ve tried several times (and several versions) using SWD/STM32 to reflash the bootloader (to 0x8000000) and the device OS (part 1 0x8020000, part 2 0x8060000)… I tried v1.1.0, but not v1.2.1.-rc.1 yet. Still only get flashing yellow and the device permanently in DFU mode - I cannot get the device into listening mode at all. I’m pretty sure it’s not the MODE button.

---

<div class="post-metadata">

**Author:** ![ikendall](https://avatars.discourse-cdn.com/v4/letter/i/a587f6/32.png) [@ikendall](https://community.particle.io/u/ikendall)\
**Post date:** [May 30, 2019, 6:58pm UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/9 "2019-05-30T18:58:58Z")

</div>

I also did a full chip erase using the STM32, wondering if that has wiped something that is not re-programmed with bootloader/OS.

---

<div class="post-metadata">

**Author:** ![ikendall](https://avatars.discourse-cdn.com/v4/letter/i/a587f6/32.png) [@ikendall](https://community.particle.io/u/ikendall)\
**Post date:** [May 30, 2019, 7:11pm UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/10 "2019-05-30T19:11:20Z")

</div>

OK, tried v1.2.1-rc.1. along with tinker (to 0x80A0000) - now get rapid flash white for short time, then red SOS, with blink code 1 (hard fault) - then back to flashing yellow. I also ran keys doctor (and particle keys server) which ran successfully to install new keys, but still no luck. Think my device proper broken!?

---

<div class="post-metadata">

**Author:** ![mstanley](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mstanley/32/20170_2.png) [@mstanley](https://community.particle.io/u/mstanley)\
**Post date:** [May 31, 2019, 6:16pm UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/11 "2019-05-31T18:16:59Z")

</div>

That behavior is unlike any behavior I’ve typically observed in devices.

Manually flashing at offsets is never recommended unless the device’s bootloader is corrupted and you cannot get the device to be detected by USB (the RGB LED will be off and the D7 light will be dimly light in this case).

It is possible that the flashing may have caused some erratic behavior or erased/overwrote something important.

Feel free to file a support ticket about your Photon, referencing this topic and setting attention to me (Matthew). 🙂

---

<div class="post-metadata">

**Author:** ![JL\_678](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jl_678/32/4391_2.png) [@JL\_678](https://community.particle.io/u/JL_678)\
**Post date:** [August 6, 2019, 11:29pm UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/12 "2019-08-06T23:29:52Z")

</div>

It took me a while to get back to this. Mine is totally dead now. ☹

---

<div class="post-metadata">

**Author:** ![mstanley](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mstanley/32/20170_2.png) [@mstanley](https://community.particle.io/u/mstanley)\
**Post date:** [August 7, 2019, 12:37am UTC](https://community.particle.io/t/particle-photon-stuck-in-dfu-mode/44863/13 "2019-08-07T00:37:48Z")

</div>

Hey @JL_678 . No good. Sorry to hear it! Were you able to file a support ticket on the matter? If not, I still recommend doing so!
