# Photon breathing cyan but shows offline in CLI, flash timeout

**URL:** <https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752>\
**Category:** Troubleshooting\
**Created:** [January 22, 2017, 1:14am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752 "2017-01-22T01:14:41Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 22, 2017, 1:14am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/1 "2017-01-22T01:14:41Z")

</div>

I ma rather new to the Photon, but all was working well and then I had a timeout on flashing code. I did hard reset, wiped, memory, etc. I can reset the WiFi credentials just fine and it is breathing cyan, but shows up offline in CLI (particle list) and times out when I try to flash. How do I fix

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [January 22, 2017, 2:21am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/2 "2017-01-22T02:21:26Z")

</div>

Can you place the photon in safe mode?

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 22, 2017, 2:45am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/3 "2017-01-22T02:45:49Z")

</div>

I did but it was still offline. Not sure if I should do something special after placing it it safe mode.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [January 22, 2017, 2:58am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/4 "2017-01-22T02:58:06Z")

</div>

Can you go to [https://console.particle.io/logs](https://console.particle.io/logs) and hit the reset button on your Photon? Do you see any events published when the device is breathing cyan?

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 22, 2017, 3:19am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/5 "2017-01-22T03:19:51Z")

</div>

Thanks for helping. nothing in the log.

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 22, 2017, 3:34am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/6 "2017-01-22T03:34:03Z")

</div>

I now seem to be having trouble putting it in safe mode. I do mode-reset, let go of reset, let go of mode when flashing magenta. Then it shifts to flashing blue. If I then reload wifi credentials it returns to breathing cyan but showing offline in the CLI: particle list command

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 22, 2017, 3:52am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/7 "2017-01-22T03:52:18Z")

</div>

now in safe mode but still offline. What should I try next? Thanks

---

<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:** [January 22, 2017, 7:29am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/8 "2017-01-22T07:29:53Z")

</div>

If it’s breathing magenta, don’t pay too much attention to the _online/offline_ indicator.

But you may want to upgrade your firmware to v0.6.0 via the most recent CLI and in DFU Mode with

```nohighlight
particle update

```

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 23, 2017, 2:25am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/9 "2017-01-23T02:25:24Z")

</div>

I was able to successfully update the firmware to v0.6.0, re-established wifi connection but still cannot flash code either in normal mode or safe mode. What next?

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 23, 2017, 2:51am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/10 "2017-01-23T02:51:25Z")

</div>

In case it helps - I was able to compile the trivial LEDBLINK app and flash it over the serial connection, but not over Wifi. While the flash was successful, it did not automatically run

---

<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:** [January 23, 2017, 4:50am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/11 "2017-01-23T04:50:43Z")

</div>

Can you describe the steps for building and flashing as exact as possible and give us the exact commands you are using with the respective outputs?  
Also give us the exact code you use for your tests.  
And if possible also post a video of the color codes you see while attempting an OTA flash.

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 23, 2017, 5:20am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/12 "2017-01-23T05:20:00Z")

</div>

As the thread indicates, things were working fine, then I received a timeout flashing an ap. Since then I have updated the the firmware using the particle update command. I have tried the mem clear and wifi clear as well. As indicated, my attempt at a factory reset never gave white flashing

I have built the LEDFlash code either in the desktop or Web app and have tried to flash using those apps - all with Timeout. I also compiled it using the particle compile command - it would not flash using the particle flash (again timed out), but I was able to flash using the --serial option (with lights flashing blue). While this flash reports success, the LEDs never flash.

As for the lights I have tried OTA flash from the normal breathing cyan mode or when put in safe mode (breathing magenta). In neither case do the lights change one bit.

I have no trouble changing the Wifi credentials, it always accepts and resets just fine. Otherwise it acts as if the WiFi isn’t working to receive the flash. Although it was suggested I ignore it, particle list shows it offline

---

<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:** [January 23, 2017, 6:32am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/13 "2017-01-23T06:32:03Z")

</div>

> [@agard](#):
>
> As indicated, my attempt at a factory reset never gave white flashing

There is no factory reset on the Photon.

> [@agard](#):
>
> I was able to flash using the --serial option (with lights flashing blue). While this flash reports success, the LEDs never flash.

This _"success"_ report is not to be trusted, you can throw any `.bin`file (even a pure text file) at the device with that command and you will always get a success.  
Rather try `particle flash --usb firmware.bin` in DFU Mode (blinking yellow).

> [@agard](#):
>
> As for the lights I have tried OTA flash from the normal breathing cyan mode or when put in safe mode (breathing magenta). In neither case do the lights change one bit.

That indicates you are not targetting the correct devices.  
In Particle Build you will find a SIGNAL button under your device details to check wheter or not you are actually targetting the correct device.  
If you are, your device should show a rainbow pattern on the RGB LED.

And there is a very specific reason why I asked for this

> [@ScruffR](#):
>
> Can you describe the steps for building and flashing as exact as possible and _ **give us the exact commands you are using with the respective outputs** _?

Without that I won't be able to help any further (and others will have difficulties too).

---

<div class="post-metadata">

**Author:** ![agard](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@agard](https://community.particle.io/u/agard)\
**Post date:** [January 24, 2017, 4:19am UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/14 "2017-01-24T04:19:13Z")

</div>

Many, thanks. I was not communicating with the correct device. Also, my apologies for not appreciating the differences between the different Particle devices and for inappropriate etiquette. Lessons learned.  
Best - David

---

<div class="post-metadata">

**Author:** ![dwthomas72](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@dwthomas72](https://community.particle.io/u/dwthomas72)\
**Post date:** [May 18, 2018, 8:51pm UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/15 "2018-05-18T20:51:22Z")

</div>

I'm having the same problem with a photon that I ordered a while back. The device is connected to wifi, I can see it in build, breathes cyan, I can ping it, I can signal it and see the led rotate through the colours.

I've tried putting it into safe mode but the video doesn't seem to indicate what colour the led should be breathing when it's in safe mode (is it supposed to stay breathing magenta?), so I suspect that I might not actually have succeeded in doing so. I hold down setup, press reset, wait for the flashing magenta and then release the setup button. It always comes back to breathing cyan.

Any help would be appreciated.

Cheers,  
Dave

* * *

_Moderator: Please reply to this post in the dedicated thread_

> [@Trouble Entering Safe Mode](https://community.particle.io/t/trouble-entering-safe-mode/41910):
>
> I’m trying to work with a couple of Photons that I ordered a while ago but never setup. While the photons appear to be online, I can ping them, signal rotates the LED colours. However; when I try to flash it I get a timeout error. So I try to enter safe mode. I hold the setup button, press the reset button for maybe half a second, release the reset button, and when the LED goes magenta I release setup. The Photons always end up in slowly pulsing cyan and I’m unable to flash. What am I doin…

---

<div class="post-metadata">

**Author:** ![joey.morrow](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@joey.morrow](https://community.particle.io/u/joey.morrow)\
**Post date:** [May 18, 2018, 11:20pm UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/16 "2018-05-18T23:20:45Z")

</div>

@dwthomas72

I am having the same _exact_ situation!

Please see following post for solution.

---

<div class="post-metadata">

**Author:** ![joey.morrow](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@joey.morrow](https://community.particle.io/u/joey.morrow)\
**Post date:** [May 20, 2018, 8:27pm UTC](https://community.particle.io/t/photon-breathing-cyan-but-shows-offline-in-cli-flash-timeout/28752/17 "2018-05-20T20:27:21Z")

</div>

Hi @dwthomas72,

I found the following post by @ScruffR works! It brings these old relics back to life!

> [@Photon is stuck in auto-update](https://community.particle.io/t/photon-is-stuck-in-auto-update/41409/9):
>
> Now things become interesting. Chances are that your CLI installation got corrupted, but that’s another story. You can do the whole update stuff step by step First download the system binaries and bootloader for the Photon from here Then flash these in DFU Mode particle flash --usb system-part1-0.7.0-photon.bin particle flash --usb system-part2-0.7.0-photon.bin Then in Listening Mode particle flash --serial bootloader-0.7.0-photon.bin Then try the this again in DFU Mode particle ke…

Someone, please mark this as solution to this problem.

Thanks,

Joey Morrow
