I saw this behaviour today when my WiFi network is finicky. My computer and photon are connected to the same WiFi hotspot, the WiFi is terribly slow. The photon was breathing cyan so I issued an OTA update request using particle cli. The photon turned magenta and got stuck in magenta. I checked the connectivity and the WiFi is down.
I waited till my WiFi connectivity is good. After a couple of minutes the WiFi was up and I was able to browse the internet. But the particle didn’t recover. It’s still showing static magenta.
It’s time to press the reset button, so I did. Now the particle LED is off and the onboard LED(connected to D7) is blue(dimmed). I did a power cycle but it’s still in that mode.
I tried to setup in safe mode but it either ends up in the particle LED being solid blue or particle LED being off. No luck.
Video in here.
I was able to set the photon in dfu-util mode successfully. I tried flashing my bin file using
particle flash --usb code.bin
The downloading was success but my photon ended up in the dim blue onboard LED mode.
I kept the photon in dfu-util mode and flashed it using the bin file generated from a monolithic build. The photon was back to life.
I didn’t find any fix to solve this issue without updating the entire photon firmware image. Any ideas?
Hope this helps!