Particle Photon led stuck on solid white, factory reset procedure not working

I’m having this exact same issue, would also like to know what white-green blinking means, and what steady white means. In my case Tinker showed the device id as set up, and my Photon also shows up in the web IDE, but Tinker also showed it as constantly offline. Will try DFU next.

Edit: no luck with installing update in DFU mode. Went right back to solid white. Meanwhile though I saw in the documentation that solid white means “Factory Reset complete; rebooting.” Wondering how long this should take? It’s been like this for several minutes now. In any case, the device is not available over serial while it’s in this state.

Maybe something went wrong during my DFU process?

XXX$ dfu-util -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.4.2-photon.bin
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device... ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash   /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x08020000, size = 247052
.............................................................
File downloaded successfully
XXX$ dfu-util -d 2b04:d006 -a 0 -s 0x8060000:leave -D system-part2-0.4.2-photon.bin
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device... ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash   /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x08060000, size = 146072
....................................
File downloaded successfully
Error during download get_status
Error during download get_status

I updated the photon CLI again just in case, did a safe reset, and got the Photon blinking blue.
Serial connection working now, put in wifi info successfully via CLI, and now…

It’s breathing magenta. That’s different, but no idea what it means.

Breathing magenta is safe mode. Means there is no firmware on the device that the system can run. Try flashing tinker again.

I’ve had about the same experience as @spongefile. I believe I got it connected to the Particle Cloud, because it was breathing cyan, but the iPhone app and the web IDE said it was always offline. Trying to push sketches to it didn’t work even though the IDE said it did it. So I tried starting over (flashing blue mode) to re-enter my wifi credentials in case it wasn’t actually connected, but I kept getting the solid white light.

I could get it into DFU mode and tried updating the firmware to 0.4.2 as suggested by @mdma (3 attempts now) but I still get the breathing magenta.

I got mine fixed just now by following @kennethlimcp 's suggestion:

Continuing the discussion from Mystery Photon LED colors and patterns:

1 Like

That seemed to have worked for me too, @spongefile. Thanks!

1 Like

@mdma - I keep seeing you and other people saying to “flash tinker”. But my device is completely offline so how can I flash it? Is there a “Flash Tinker” button somewhere that I am missing?

Hold the setup button, press the reset button, and release the setup button if it starts blinking Magenta. It should then be in safe mode, and able to connect to wifi. Then, you should able to flash Tinker through either the app, or over the Web IDE, using the code provided.
If you’ve got the CLI installed, you could do this over DFU mode. for the exact steps to do so, look over here: https://github.com/spark/firmware/releases/tag/0.4.3-rc2

@Moors7 - This unfortunately does absolutely nothing. I cannot even connect it to the internet. I tried updating by dfu-util but this did nothing. I am stuck between having a constant green light, or a constant white light. The constant white light appears when I try to factory reset the photon. This is not working at all. Any advice?

@Moors7

I followed your recommendation as well but had different experience than @mastap94.

After performing the factory reset, the Photon slowly flashes blue.

Anytime I attempt to put it into Safe mode or DFU mode and setup via the Particle Dev (iOS) app, Particle CLI setup or DFU the particle loops through the following:

  • solid white light (2 sec)
  • slow flashing green (2 sec)
  • faster flashing green (2 sec)
  • solid cyan (1 sec)
  • flashing red (i think this is the SOS and some other red flashes)

Any ideas?

@mastap94:

I’m going to assume you tried to flash the .bin files as per the instructions on the link I gave you? Did you also flash the photon-tinker.bin from that page? Did it give you any errors?
After doing that, what happens with your photon, blinking blue, or immediately solid green?


@Ashton:

A factory reset shouldn’t be necessary in the process described above.

That’s a bit confusing; when does it do what?

  • Can you get it into safe mode (blinking magenta)? - runs no user code
  • Can you get it into DFU mode (blinking yellow)? - allows flashing over USB
  • Can you get it into listening mode (blinking blue)? - allows credential configuration

Assuming you can get it into DFU mode, did you manage to upgrade to 0.4.3rc2, as described above?

Could you count those flashed, they indicate the type of error?

@Moors7 - No I did not try that yet. How do I do this though? There are no instructions on how to load the tinker-photon.bin…

Download the .bin, then in that directory, try particle flash --usb tinker-photon.bin when your device is in DFU mode.

@Moors7: Thanks very much for trying, but this still is not doing anything.

New Approach: Is there any way to do a full factory reset via dfu?

@Moors7

Yes, I was able to get into DFU last night and upgrade to 0.4.3.rc2.

After rebooting the Photon I longer have the loop I described earlier, however the Photon now constantly flashes green.

RESOLVED: device keys and cloud settings got messed up. once this was fixed photon back online and connected

1 Like

Hi
I received a photon today and have had a similar issue. All went fine until trying to flash from the ide. It flashed purple for several minutes and then started breathing purple. I found similar issues had been resolved by flashing from the particle cli so tried that.

Now the photon is stuck on continuous white but it will still enter dfu mode. I have tried re-updating the firmware several times on windows and linux with no joy in that although it appears to complete the update the photon always reverts to solid white.
I have tried to reset it a couple of times again to no avail.

Could you try particle flash --usb tinker while connected and in dfu mode?

Thanks, that definitely made a difference. It is a great relief to find that I have not bricked it as per the factory reset issue reported on the forum! But there is still an issue.
Initially it returned to white but then I put it back into dfu mode and ran particle update. It started flashing blue and I went through the process of reclaiming it and testing tinker.
Next step was to try to flash an ide app blink an led. That worked fine (firmware 0.4.4 was selected). I then successfully flashed the photon with some of my other apps and they tested ok.
However when I try to flash a particular app it will flash but stick with the white led again and the only solution is to flash tinker with particle cli. Therefore it appears to be something wrong with my code or the libraries that I am using.
These are apps that work perfectly with my spark cores and the ide does not throw any errors. I was under the impression that the photon is backwards compatible with core code, is that definitely the case?
Now it is apparently working I will try to pinpoint what is causing this and report back if I find anything.

Glad to hear it’s somewhat working again.
With the ‘problematic’ app, could you give ‘safe mode’ a try to see if that works for you. That should allow you to reprogram it OTA without having to reconfigure everything.

1 Like