Not plug N play but plug and pull your hair out!

After I do ‘particle serial wifi’ it blinks green fast as if its logging credentials then goes to breathing magenta. So I go to the ‘particle build’ site and select ‘Build AN LED’ code. I select flash.The wheel spins and it says ‘flashing code’. Then it says ‘Ready’ with breathing magenta. Isn’t it supposed to execute the code just flashed? Is there a ‘go’ button?

Without using the Android app. Using the PC CLI can somebody tell me the steps and what to expect? I’ve used a lot of IDEs. This one gives all the look and feel of plug and play but I have been getting very frustrated trying to connect to my wifi, download already existing code and having the device execute it.

@rfsweitzer,

Just to confirm, your Photon is breathing magenta? That’s good news.

That is known as Safe Mode and the :cloud: is updating your Photon with a newer system firmware. You should see if blink magenta and eventually, change to breathing cyan.

1 Like

Kenneth,
I’ve waited for 4 hours for the breathing magenta LED to turn to breathing cyan. It didn’t after I did the following:
Is there something wrong with my Photon?

C:\Users\User>particle serial wifi
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: ATT9Yhu2
85
Attempting to configure Wi-Fi on COM16
Serial -> SSID:
Serial <- ATT9Yhu285
Serial -> ATT9Yhu285
Serial -> Security 0=unsecured, 1=WEP, 2=WPA, 3=WPA2:
? Security Type WPA2
Serial <- 3
Serial -> 3
Serial -> Password:
? Wi-Fi Password 3r6+h3htm8tv
Serial <- 3r6+h3htm8tv
Serial -> 3r6+h3htm8tv
Serial -> Thanks! Wait while I save those credentials…
Serial ->
Serial -> Awesome. Now we’ll connect!
Serial ->
Serial -> If you see a pulsing cyan light, your device
Serial -> has connected to the Cloud and is ready to go!
Serial ->
Serial -> If your LED flashes red or you encounter any other problems,
Serial -> visit https://www.spark.io/support to debug.
Serial ->
Serial -> Spark <3 you!
Serial ->
Done! Your device should now restart.

Try placing it in DFU mode and then issue ‘Particle update’. Then DFU once more and issue ‘Particle flash --usb tinker’.
That should update the photon and flash Tinker to it. It should then be breathing cyan.

2 Likes

Moors,
Tried what you suggested. Put the device in DFU mode. Held mode and reset down together. Released reset. Waited until the LED blinked yellow. Then executed ‘Particle update’ command. Followed by ‘Particle flash --usb tinker’. Failed again. Here are the results:

C:\Users\User>Particle update

!!! I was unable to detect any devices in DFU mode...

> Your device will blink yellow when in DFU mode.
> If your device is not blinking yellow, please:

1) Press and hold both the RESET/RST and MODE/SETUP buttons simultaneously.

2) Release only the RESET/RST button while continuing to hold the MODE/SETUP but
ton.

3) Release the MODE/SETUP button once the device begins to blink yellow.


C:\Users\User>Particle flash --usb tinker

!!! I was unable to detect any devices in DFU mode...

> Your device will blink yellow when in DFU mode.
> If your device is not blinking yellow, please:

1) Press and hold both the RESET/RST and MODE/SETUP buttons simultaneously.

2) Release only the RESET/RST button while continuing to hold the MODE/SETUP but
ton.

3) Release the MODE/SETUP button once the device begins to blink yellow.


Error writing firmware...No DFU device found

Have you got DFU drivers installed?
If you didn’t use the CLI installer, you’ll most likely need to install them seperately via zadig
http://zadig.akeo.ie/

But I’d suggest you uninstall CLI with

npm uninstall -g particle-cli

and use this to reinstall CLI with all drivers (all checkboxes ticked)
https://binaries.particle.io/cli/installer/windows/ParticleCLISetup.exe

3 Likes