I'm continuously striking out trying setup, flash Photon

No matter what I do I can’t seem to get this Photon to function. Out of the box it had the blinking blue light. I downloaded the Particle app to my Android phone. I connected it to my wifi. I was able to run Tinker thus setting and resetting the LED. Using YouTube videos I tried to download a new existing firmware image into the device.
https://build.particle.io/build/new.
I followed a video exactly. The guy in the video was able to do it I wasn’t. My device went into ‘standby mode’. I tried to reconnect to my wifi gain through the Android app. Every time I had to enter my wifi password which is 12 characters. A real pain. The PW was assigned by AT&T. You’d think Phonton would remember the PW but it doesn’t.

Found another video that showed how I can download code over the USB. Followed the instructions exactly. Nothing worked. On the Windows command line I typed in ‘particle setup’. It found my account. Below is the printout from trying the commands ‘particle setup’ and ‘particle wifi’. As you can see nothing works. Also on the command line how do I insert my 12 character PW? Everything looks like this thing is just easy plug and play but in my experience its not. Can anybody please help?

C:\Users\User>particle setup
 _ __             _   _      _
| '_ \  __ _ _ __| |_(_) ___| | ___
| |_) |/ _` | '__| __| |/ __| |/ _ \
|  __/| (_| | |  | |_| | (__| |  __/
|_|    \__,_|_|   \__|_|\___|_|\___|
                 https://particle.io

> Setup is easy! Let's get started...
> It appears as though you are already logged in as rfsweitzer@yahoo.com
? Would you like to log in with a different account? No

! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue!
! PROTIP: Please make sure you are connected to the internet.

> No devices detected via USB.
? Would you like to scan for nearby Photons in Wi-Fi setup mode? No
> Goodbye!

C:\Users\User>particle setup
 _ __             _   _      _
| '_ \  __ _ _ __| |_(_) ___| | ___
| |_) |/ _` | '__| __| |/ __| |/ _ \
|  __/| (_| | |  | |_| | (__| |  __/
|_|    \__,_|_|   \__|_|\___|_|\___|
                 https://particle.io

> Setup is easy! Let's get started...
> It appears as though you are already logged in as rfsweitzer@yahoo.com
? Would you like to log in with a different account? No

! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue!
! PROTIP: Please make sure you are connected to the internet.

> No devices detected via USB.
? Would you like to scan for nearby Photons in Wi-Fi setup mode? Yes

! PROTIP: Wireless setup of Photons works like a wizard!
! PROTIP: We will automagically change the Wi-Fi network to which your computer
is connected.
! PROTIP: You will lose your connection to the internet periodically.

? Found "Photon-WLVN". Would you like to perform setup on this one now? Yes

! PROTIP: You will need to know the password for your Wi-Fi network (if any) to
proceed.
! PROTIP: You can press ctrl + C to quit setup at any time.

> Obtained magical secure claim code.

! PROTIP: There was a network error while connecting to the cloud...
! PROTIP: We need an active internet connection to successfully complete setup.
! PROTIP: Are you currently connected to the internet? Please double-check and t
ry again.

C:\Users\User>

**C:\Users\User>particle serial wifi**

! serial: No serial port identified

C:\Users\User>particle serial wifi

! serial: No serial port identified
  1. The Photon would indeed remember the WiFi credentials.

  2. In this “standby” mode that you mentioned, what is the status of the RGB led?

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

  1. I would recommend starting with the example apps available in https://build.particle.io such as Blink an Led and see that the firmware does update and run the new code as expected.

  2. As for the USB issue, the Photon needs to be in listening mode for any serial related commands. You might be missing the driver as well.

https://docs.particle.io/guide/getting-started/connect/photon/#installing-the-particle-driver

2 Likes

The command to set the WiFi creds without any additional kerfuffle would be

particle serial wifi

(with the device blinking blue)

With Win10 you would not need to install extra drivers and pre 10 I'd recommend the CLI installer
https://binaries.particle.io/cli/installer/windows/ParticleCLISetup.exe

If you already had installed CLI via npm I'd recommend to uninstall that first via

npm uninstall -g particle-cli

and then run the installer with the drivers and OpenSSL checkboxes ticked.

1 Like