# Photon Troubleshooting Guide (as of Firmware v0.4.6)

**URL:** <https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042>\
**Category:** uncategorized\
**Created:** [September 28, 2015, 11:14pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042 "2015-09-28T23:14:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![christine](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/christine/32/5024_2.png) [@christine](https://community.particle.io/u/christine)\
**Post date:** [September 28, 2015, 11:14pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/1 "2015-09-28T23:14:17Z")

</div>

Sometimes your Photon can get into an unexpected state and it won’t behave the way you expect. This can often be diagnosed by different LED states. Please read on for a description of those states, and what to do to resolve your issue!

We expect that many of these issues will be resolved in upcoming releases, but for now here his some info.

###Step One: Firmware Update

**First try to update your Photon to our newest firmware** :

If you do not have a Mac/Apple computer then you should not read the instructions below for a firmware upgrade. These are specifically for users who have MAC machines.

_For Windows_ If you have a Windows machine, please follow [these instructions](http://blog.jongallant.com/2015/08/particle-photon-firmware-flash-windows.html).

Since your device is offline, I recommend using our dfu-util method. If you want more info on this, the local DFU-UTIL method is roughly explained [here](https://github.com/spark/firmware/releases).

To upgrade your Photon, follow the instructions below:

- Download the proper firmware binaries for the Photon linked below:

- Install dfu-util on your Mac using: `brew install dfu-util`  
If you don’t have brew or homebrew installed, install it here: [http://brew.sh/](http://brew.sh/)

- Put photon into DFU MODE, instructions [here](https://docs.particle.io/guide/getting-started/modes/photon/#dfu-mode-device-firmware-upgrade-).

- Flash part1:  
`dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.4.6-photon.bin`

- Flash part2, unit should still be blinking yellow:  
`dfu-util -d 2b04:d006 -a 0 -s 0x8060000:leave -D system-part2-0.4.6-photon.bin`

- Wait… Your device should eventually restart and start blinking blue, breathing cyan, or flashing green – all dependent on if you’ve setup the device before.

###Step Two: Public Key Reset

Sometimes, a firmware upgrade will not be enough to solve your Photon’s problem. If your are still having an issue, and particularly **if your photon is flashing cyan and sometimes orange/red without connecting** , It’s time to try resetting the public key.

- **If you haven’t ever claimed the device before:**  
You will need [dfu-util](http://dfu-util.sourceforge.net/). Install it, then download the [this file](https://s3.amazonaws.com/spark-website/cloud_public.der).  
Use the command line to navigate to that file.  
Run the following command:  
`dfu-util -d 2b04:d006 -a 1 -s 2082 -D cloud_public.der`  
This should reset your public key.

- **If you claimed the device previously:**  
You need the [CLI](https://docs.particle.io/guide/tools-and-features/cli/). Once it is installed, run:  
`particle keys server cloud_public.der`  
`particle keys new photon`  
`particle keys load photon.der`  
`particle keys send photon.pub.pem`  
This should reset your public key.

---

<div class="post-metadata">

**Author:** ![christine](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/christine/32/5024_2.png) [@christine](https://community.particle.io/u/christine)\
**Post date:** [September 28, 2015, 11:14pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/2 "2015-09-28T23:14:23Z")

</div>



---

<div class="post-metadata">

**Author:** ![sugoisauce](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sugoisauce](https://community.particle.io/u/sugoisauce)\
**Post date:** [October 2, 2015, 1:39am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/3 "2015-10-02T01:39:35Z")

</div>

Hi again. I just tried using my photon after I got it working about a week ago however the photon could not connect to the internet. Instead it remained in a cycle of blinking cyan and rapidly flashing green. I was not sure if I needed to update the firmware so I followed step one of this guide using the files and instructions on [https://github.com/spark/firmware/releases/tag/v0.4.6.1](https://github.com/spark/firmware/releases/tag/v0.4.6.1) after which my photon was still blinking cyan and rapidly flashing green. I then tried to change my keys using the instructions at [https://docs.particle.io/support/troubleshooting-support/photon/#how-to-change-your-key-](https://docs.particle.io/support/troubleshooting-support/photon/#how-to-change-your-key-) however my photon just continues to blink cyan for some time then rapidly flash green. Any ideas? As always much appreciated.

---

<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:** [October 2, 2015, 2:17am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/4 "2015-10-02T02:17:18Z")

</div>

Not sure if related, but I had a similar problem which might have been in connection with a bug that was fixed in 0.4.6 where WiFi credentials could have got corrupted if there were stored more than two sets.  
After clearing the credentials (press & hold SETUP till rapid flashing blue) and entering them again, my one Photon that always took ages to connect, now connects a lot quicker.

---

<div class="post-metadata">

**Author:** ![sugoisauce](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sugoisauce](https://community.particle.io/u/sugoisauce)\
**Post date:** [October 2, 2015, 2:37am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/5 "2015-10-02T02:37:49Z")

</div>

Yup, that worked. Thanks a ton.

---

<div class="post-metadata">

**Author:** ![jmjobin](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jmjobin](https://community.particle.io/u/jmjobin)\
**Post date:** [October 2, 2015, 7:17am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/6 "2015-10-02T07:17:33Z")

</div>

Hello I spent hours yesterday to try the connection. Flash and reflash versions etc…  
Connection trial by App on Android or USB, nothing would make it connect.

I found out that without the crypto (WIFI router open) it was connecting.  
Finally found out that Photon accept a WAP2 connection and I was using WEP.  
Working fine for me now, but the version was not the problem. Running now 0.4.5.

---

<div class="post-metadata">

**Author:** ![christine](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/christine/32/5024_2.png) [@christine](https://community.particle.io/u/christine)\
**Post date:** [October 2, 2015, 5:15pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/7 "2015-10-02T17:15:07Z")

</div>

I have updated this post with 0.4.6 firmware links.

---

<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:** [October 2, 2015, 8:19pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/8 "2015-10-02T20:19:37Z")

</div>

Despite the fact that WEP is more like a placebo encryption and you should move to WPA2 anyway, there was a thread that outlines how to do it properly (not that sraight forward)  
[How to setup WEP secured network on the Photon](https://community.particle.io/t/how-to-setup-wep-secured-network-on-the-photon/16026)

---

<div class="post-metadata">

**Author:** ![jmjobin](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jmjobin](https://community.particle.io/u/jmjobin)\
**Post date:** [October 3, 2015, 2:44pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/9 "2015-10-03T14:44:02Z")

</div>

Thank you ScruffR, you are right and I did move to WPA2. I did not see before this info (the link you suggested).  
The problem I have now with photon is information “everywhere” but I am sure this will be settled with the time.

---

<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:** [October 3, 2015, 3:14pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/10 "2015-10-03T15:14:26Z")

</div>

And meanwhile we have to spread our tribal knowledge of all that scattered info as good as we can 🕶

---

<div class="post-metadata">

**Author:** ![robderon](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@robderon](https://community.particle.io/u/robderon)\
**Post date:** [October 8, 2015, 11:50am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/11 "2015-10-08T11:50:00Z")

</div>

Hello,

I’ve received my photon yesterday. very nice packaging, I was eager to play with it but it ended up in two hours of configuration troubles :(( Now i’m between the the flashing cyan problem and the red sos mode.  
It started with the Photon Setup Failed at “Verify Product Ownership” problem. I’v tried with the node.js particle setup but same problem. I’ve then did the firmware upgrade in DFU mode, and also the Public key reset.  
Now my photon is blinking red (SOS mode), then white, then fast green, then cyan the red again…  
My wifi router is in WPA2 mode, channel 6, 2,4Ghz. I can see that the photon is connected on my router web interface (WICEDDHCPClient is connected to wifi).  
Long press on the setup button doesn’t work.  
Reset button works but it restart the white /green/cyan/Red blinking mode.  
I’m a bit lost…  
Thanks in advance for any help

---

<div class="post-metadata">

**Author:** ![robderon](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@robderon](https://community.particle.io/u/robderon)\
**Post date:** [October 8, 2015, 12:03pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/12 "2015-10-08T12:03:39Z")

</div>

I’ve ordered two photons, the second have the same problem :

- “setup failed at claiming your particle device”=\> flashing cyan mode
- npm update -g particle-cli && particle update =\> flashing red - white - flashing green, flashing cyan mode
- dfu-util -d 2b04:d006 -a 1 -s 2082 -D cloud\_public.der =\> same red/white/red /mode

Still lost …

---

<div class="post-metadata">

**Author:** ![christine](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/christine/32/5024_2.png) [@christine](https://community.particle.io/u/christine)\
**Post date:** [October 8, 2015, 5:33pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/13 "2015-10-08T17:33:14Z")

</div>

@robderon Have you tried applying the firmware update manually rather than using particle update? Also, please ensure that your WiFi is compatible according to [this guide](https://docs.particle.io/support/troubleshooting/common-issues/photon/#wi-fi-network-requirements).

---

<div class="post-metadata">

**Author:** ![robderon](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@robderon](https://community.particle.io/u/robderon)\
**Post date:** [October 12, 2015, 8:41am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/14 "2015-10-12T08:41:41Z")

</div>

@christine thanks for your help.  
my wifi router complies with the sepcs ( channel 6, no entreprise network, no captive portal, no complex network, 802.11 n retro compatible). I can see my photon is online on my router web page : it has been given an ip.  
I’ve tried both firmware upgrades mode : manual and particle update.  
If I understand well the led codes ( [https://docs.particle.io/support/troubleshooting/troubleshooting-support/photon/](https://docs.particle.io/support/troubleshooting/troubleshooting-support/photon/) ) , it seems that my photon is crashing during an OTA.  
the cycle is white (startup), flashing green (connecting to wifi), flashing cyan (connecting to particle cloud), then flashing magenta (receiving new firmware OTA), then white again.

I think it can communicate with particle cloud, but it crashes during the OTA.

---

<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:** [October 12, 2015, 10:19am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/15 "2015-10-12T10:19:37Z")

</div>

How many magenta phases have you seen before you touched your device again?

A system firmware update consists of _three_ to _four_ cycles of the type you described and may take up to 15 minutes - even if everything works well.  
If interrupted it might take even longer.

[New Photon Updates: Magenta for 5-12 Minutes, DO NOT UNPLUG](https://community.particle.io/t/new-photon-updates-magenta-for-5-12-minutes-do-not-unplug/16041)

---

<div class="post-metadata">

**Author:** ![robderon](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@robderon](https://community.particle.io/u/robderon)\
**Post date:** [October 16, 2015, 8:06am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/16 "2015-10-16T08:06:56Z")

</div>

Hello @ScruffR  
thanks for helping me.

I let the photon on for a very long time (more than 1h) , this cycle keeps going on and on. it seems to me that the red flash is indicating SOS mode ( [https://docs.particle.io/guide/getting-started/modes/core/#red-flash-sos](https://docs.particle.io/guide/getting-started/modes/core/#red-flash-sos) ) with 3 short, 3 long 3 short, and then 1 flash, and then again 3 short, 3 long, 3 short and then 1 flash, indicating error code 1 : # Hard

---

<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:** [October 16, 2015, 8:16am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/17 "2015-10-16T08:16:21Z")

</div>

So it seems that the application firmware is causing some trouble.

To get around this, put your Photon into Safe Mode and wait till it connects to the cloud (breathing magenta).  
After that just flash a very simple code (e.g. Blink an LED) via Web IDE.

If that involves more than one phase of magenta flashing you’ll get auto-updated and let the procedure finish for about 15min.

After this your Photon should be running your simple sketch.

---

<div class="post-metadata">

**Author:** ![robderon](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@robderon](https://community.particle.io/u/robderon)\
**Post date:** [October 16, 2015, 8:38am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/18 "2015-10-16T08:38:46Z")

</div>

The problem is that i’ve never seen my devices on the web IDE. When i put it in safe mode it goes back in setup mode (blinking blue). I then do the “particle setup wifi” process. then it goes into a cyan / orange mode. I’ve tried the “particle keys doctor” process to update my keys, but both photons came back into cyan/orange after this operation.

Discouragement is not far on my side… it may be one of the poorest techie experience i’ve never had, something between windows Me and Vista…

---

<div class="post-metadata">

**Author:** ![peter\_a](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@peter\_a](https://community.particle.io/u/peter_a)\
**Post date:** [October 16, 2015, 8:54am UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/19 "2015-10-16T08:54:54Z")

</div>

Windows me ? , surely not that bad !!!

---

<div class="post-metadata">

**Author:** ![robderon](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@robderon](https://community.particle.io/u/robderon)\
**Post date:** [October 19, 2015, 10:06pm UTC](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042/20 "2015-10-19T22:06:37Z")

</div>

I’m stuck with two failed photon and will probably have to ask for a refund. What a poor experience !

[Next page](https://community.particle.io/t/photon-troubleshooting-guide-as-of-firmware-v0-4-6/16042.md?page=2)
