I have a photon board that is causing me nothing but trouble.
I have tried connecting it to my account using the latest Particle app and although it completes with a breathing cyan LED, and appears in my account, the app says that setup failed because the wifi credentials were incorrect.
Well, they are correct.
Anyway, despite it being on my account I can’t flash it from the web IDE. It fails just saying “Flash was unsuccessful” after a “This request is taking longer than typical, be patient” message.
I’ve tried resetting the board and reconnecting it several times. It just doesn’t work.
I can signal it though. I can’t flash it.
I also tried using the connect html page from particle but that didn’t even begin to work. Wouldn’t even recognize a connection to the particle wifi. On Mac OS latest version using Firefox.
particle device doctor
The Device Doctor will put your device back into a healthy state
It will:
- Upgrade system firmware
- Flash the default Tinker app
- Reset the device and server keys
- Clear the Wi-Fi settings
The Doctor will operate on your Photon connected over USB
You'll be asked to put your device in DFU mode several times to reset different settings.
Updating system firmware
Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
> Your device is ready for a system update.
> This process should take about 50 seconds. Here it goes!
! An error occurred while attempting to update the system firmware of your device:
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: Error during download get_status
> Please visit our community forums for help with this error:
https://community.particle.io/
The Doctor didn't complete sucesfully. Cannot read property 'code' of undefined
> Please visit our community forums for help with this error:
https://community.particle.io/
I have no idea what is happening to this poor board.
I had to run setup again because it didn’t have connection credentials. This time, for the first time, it says it completed successfully and linked to my account.
I got a message that a firmware update would be taking place.
Then it immediately went into breathing magenta.
The Web IDE says that I’m flashing it successfully but I am not. Nothing from Web IDE makes it to the board despite the log on the web happily claiming it did.
I tried flashing tinker and it seems to flash OK, but then I’m right back to breathing magenta.
Device doctor fails in the exact same way as before.
I tried putting it into safe mode and that results in exact same things.
To follow up on Scruff’s post, I’d like to get the information on particle serial inspect. I suspect you may be on an older device OS version that isn’t playing nice.
I’ll check these suggestions out tonight. Thank you! It’s certainly running a very old firmware. I just removed it from its brand new packaging and I ordered it on launch day of the photon. (I have used many photons, but just not that one yet)
David, in my experience it is best and saves the problems you have experienced to clear WIFI credentials and put devices in DFU mode and use the CLI to Particle flash --usb 1. System-part1, 2. System-part2, and 3. Tinker then run Particle setup and using --serial 4. Bootloader. These should all be for the device os version you are targeting.