Yet another breathing magenta question

I setup a new Photon today. It connects to the cloud. There was a time when it blink magenta (purple), so I assumed it was updating firmware and let it be. It shows up in my devices tab as using the latest 0.4.5 firmware. I copy and pasted the “blink LED” sketch from the examples.

Then I downloaded it to the Photon. It flashed purple like it’s supposed to. But then it seems messed up.

Flashing Green
Flashing Blue
Breathing Magenta/Purple…stays that way for 40 seconds or so
Flashing red…and then goes back to the beginning of sequence.

I’ve tried power cycling it. Same thing happens. I wonder if I’m missing a setup guide that explains these lights and makes everything clear? The device mode kind of talks about it, but doesn’t cover usual circumstances.

So on initial set-up, it does an automatic update, which you’ve noticed. If I’m not mistaken, this doesn’t automatically update you to the latest version (correct me if I’m wrong @dave @mdma). When you update through the web IDE it will initiate an automatic update if it noticed your firmware on the device is not equal or greater than the one picked in the web IDE. It will then update that when you flash new firmware. Since these system firmwares are considerably larger, it will take longer for them to be transferred. Fully updating the Photon can take a couple of minutes, although it shouldn’t take longer than 10 minutes.
If, for whatever reason, something gets messed up while updating, your Photon will enter Safe mode (breathing magenta). When you try flashing an application again, it should pick up where it left off and correct itself.
If you want to, you could update the Photon manually, using the CLI (which I recommend installing regardless). Put your device in DFU mode, and issue a particle update form the CLI. After that, do a particle flash --usb tinker while in DFU mode. This should get you to the latest firmware, and install Tinker, the default app.

1 Like

I had a similar problem with my Photon, and @Moors7helped me get it going again with these commands.

1 Like