[Solved] Help reviving a Photon

I have a Photon that I managed to put in “Halt and catch fire” (infinite loop) mode, requiring what accidentally resulted in a factory reset.

I managed to reconnect the Photon to the Internet (breathing cyan) via USB and ‘w’.

It shows up as ‘live’’ in both Web and Dev IDEs, but flashing anything results in nothing happening, just cyan ‘breathing’.

What next?

Hi @Awake,

If it’s breathing cyan, but you can’t flash anything to it, try putting it in safe mode:

https://docs.particle.io/guide/getting-started/modes/photon/#safe-mode

Thanks,
David

That did it! What I don’t understand is why a factory reset doesn’t just ‘reformat and reinstall’ the device. There are too many flashy light codes, but no “F’it… I’ll just start from scratch” as if I were unwrapping a new device.

1 Like

There is no factory reset on the photon - https://docs.particle.io/guide/getting-started/modes/photon/#factory-reset.

The way to get to a fresh state is:

  • enter safe mode, and hold setup for 10 seconds to clear all credentials
  • put the device in DFU mode
  • run particle flash --usb tinker
  • run particle update to install latest system firmware.

A full reset is rarely (never?) necessary - if it’s a problem with application firmware, safe mode will take care of that and reconnect the device to the cloud even when your application firmware would otherwise prevent this.