After loading Norwegian Blue on my Photon to try to recover Erased Bootloader on my Electron I cant get the Photon connected to the Cloud after removing Electron and jumpers.
The Mode LED is stuck on Blue and will not go into Safe Mode but will go into DFU mode.
Steps I’ve tried:
Using CLI and DFU reinstalled 0.6.2 parts 1 & 2. (Still stuck in Blue).
Ran Particle Device Doctor. (Now will enter Listening mode).
Type particle identify, comes back with ID # and system firmware version 0.6.2.
Ran Particle Keys Doctor, new keys in place. Still blinking Green
Typed - dfu-util -d 2b04:d006 -a 1 -s 34 -D device.der from Problem Solved Thread - Cannot claim Photon - SOLVED
Using CLI loaded the example (Blink an Led), Download successful, but still blinking
Green
Just wiped the credentials and then ran particle setup to create new ones.
! It doesn’t look like your Photon has made it to the cloud yet.
? What would you like to do?
❯ Check again to see if the Photon has connected
Reconfigure the Wi-Fi settings of the Photon
I’ve tried Reconfigure multiples and get the same message.
To set new WiFi credentials you’d rather use particle serial wifi and you need to make sure that your network is 2.4GHz (preferably completely without 5GHz band on the same SSID).
Also avoid WEP encryption and rather go for WPA2 if you haven’t already.
Also try another network (e.g. your mobile phone’s hotspot).
As escalation step I’d flash 0.7.0-rc.3 system followed by particle flash --usb tinker and run particle device doctor.
Are you seeing any other colors but blinking green?
Can you post a video?
I tried running running particle serial wifi my mobile phone hotspot and made a video. Still failing to connect. I also tried the iOS Particle app. going through all the steps using the hot spot network. It completed and said it was connecting. Then this message appeared: Warning, device setup did not complete.
No other colors but blinking green then after awhile blinking blue. I made a video, but not sure how to post it, .m4v format.
Are you advising next , to install 0.7.0-rc.3 system followed by particle flash --usb tinker and run particle device doctor?
Results of installing 0.7.0-rc.3 system followed by particle flash --usb tinker and run particle device doctor:
Rons-MacBook-Pro:binaries ron$ 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 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: Pinyon2
? 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.usbmodem1431
? Wi-Fi Password TCwplp#n
Done! Your device should now restart.
Resetting server and device keys
Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
Found DFU device 2b04:d006
spawning dfu-util -d 2b04:d006 -a 1 -i 0 -s 2082 -D /usr/local/lib/node_modules/particle-cli/keys/rsa.pub.der
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000822, size = 512
Download [=========================] 100% 512 bytes
Download done.
File downloaded successfully
Okay! New keys in place, your device will not restart.
Found DFU device 2b04:d006
Found DFU device 2b04:d006
New Key Created!
Found DFU device 2b04:d006
Found DFU device 2b04:d006
Saved!
spawning dfu-util -d 2b04:d006 -a 1 -i 0 -s 34:leave -D 380043000347353138383138_rsa_new.der
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000022, size = 609
Download [=========================] 100% 609 bytes
Download done.
File downloaded successfully
Saved!
attempting to add a new public key for device 380043000347353138383138
submitting public key succeeded!
Okay! New keys in place, your device should restart.
Flashing the default Particle Tinker app
Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
Found DFU device 2b04:d006
spawning dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D /usr/local/lib/node_modules/particle-cli/binaries/photon_tinker.bin
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
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
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 3952
Download [=========================] 100% 3952 bytes
Download done.
File downloaded successfully
Flash success!
The Doctor has restored your device!
> Please visit our community forums if your device still can't connect to the Particle cloud
https://community.particle.io/
Rons-MacBook-Pro:binaries ron$
Played around somemore and happened to send particle identify after performing these steps: flash 0.7.0-rc.3 system followed by particle flash --serial tinker and ran > particle device doctor.
it came back 0.6.2, turns out that when you run particle device doctor it says its updating the firmware but it actually returns 0.7.0 back to 0.6.2.
Also I tried flash 0.7.0-rc.3 system followed by particle flash --serial tinker and then ran particle setup wifi and then typed particle list and it returned ....8383138] (Photon) is offline. Maybe that makes sense since it can't connect.
Yes, and I performed a hard reset on the router. The photon was setup originally to this router. If i turn on my local hotspot on my phone I can get it to repeatedly to connect to the cloud. If I reset the device and type particle serial wifi, and try to select the original router it starts with the questions, scan and look for networks and so on, but before you answer them all it has joined the hotspot if its let on and fails if you turn it off.