My photon is failing out of the blue. I have re-flashed it, cleared the settings, doctored it and everything else I can think of. It fails by going into the red single flash followed by the SOS pattern as soon as it tries to configure the device’s wifi settings. It looks fine on inspect:
lolibook:code lolife$ particle serial inspect
Platform: 6 - Photon
Modules
Bootloader module #0 - version 11, main location, 16384 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #1 - version 108, main location, 262144 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #2 - version 108, main location, 262144 bytes max size
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #1 - version 108
User module #1 - version 2, main location, 131072 bytes max size
UUID: 2BA4E71E840F596B812003882AAE7CA6496F1590CA4A049310AF76EAF11C943A
Integrity: PASS
Address Range: PASS
Platform: PASS
Dependencies: PASS
System module #2 - version 1
empty - factory location, 131072 bytes max size
indent preformatted text by 4 spaces
Here is the failure:
lolibook:code lolife$ 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: knetX
? Should I try to auto-detect the wireless security type? Yes
> Detected WPA2(PSK/AES/AES) security
Attempting to configure Wi-Fi on /dev/cu.usbmodem1411
! Something went wrong: Serial timed out
The red flashing starts coincident with the last line. The device doctor ends with the error “undefined”. (Very helpful.)
lolibook:code lolife$ particle 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 30 seconds. Here it goes!
! System firmware update successfully completed!
> Your device should now restart automatically.
Flashing the Device Doctor app
This app allows changing more settings on your device
Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
Flash success!
Select antenna
? Select the antenna to use to connect to Wi-Fi Internal
Switched antenna to Internal
Configure IP address
? Select how the device will be assigned an IP address Dynamic IP
Switched to dynamic IP
Reset Wi-Fi hotspot name in listening mode
? Select Continue when ready Continue
Switched SoftAP prefix to default
Clear all data in EEPROM storage
? Select Continue when ready Continue
Cleared EEPROM data
Clearing and setting up Wi-Fi settings
? Select Continue when ready Continue
Cleared Wi-Fi credentials
Entering listen mode
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: knetX
? Should I try to auto-detect the wireless security type? Yes
> Detected WPA2(PSK/AES/AES) security
Attempting to configure Wi-Fi on /dev/cu.usbmodem1411
! Something went wrong: Serial timed out
The Doctor didn't complete sucesfully. undefined
Help?
Thank you!
M.