Electron; Breathing white after Particle Device Doctor

Hi,

I got a lot of interupted connections and was advised to ru the Particle Device Doctor. Doing so, produced an error in what I think is the last step. It could run the OpenSSL:

Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
Okay! New keys in place, your device will not restart.
The Doctor didn’t complete sucesfully. Make sure your device is in DFU mode (bli
nking yellow), and that your computer is online.: Error creating keys: Command f
ailed: C:\windows\system32\cmd.exe /s /c “openssl ecparam -name prime256v1 -genk
ey -out 500038001951343334363036_ec_new.pem”
‘openssl’ is not recognized as an internal or external command,
operable program or batch file.

Testing to run OpenSSL showed it wasn’t installed (or in the PATH). I tried to re-install Particle CLI without change. I found OpenSSL somwhere and updated the PATH. Result:

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!

Clear all data in EEPROM storage

? Select Continue when ready Continue
The Doctor didn’t complete sucesfully. undefined

Can anyone please help me???
Best regards Richard

particle update and particle flash --usb tinker should be of help here. Give that a shot in DFU mode?

2 Likes

Hi Moors7,

I think the Particle Device Doctor updates, doesn’t it?
I haven’t tried to flash Tinker, but I certainly will. Tkank you for the suggestion.

Br Richard

Question along this line. If I have a brand new Electron that running 0.5.3 (I think most ship with this), can I simply use particle device doctor to get it updated directly to 0.7.0? Is it safe/advisable to use this approach? It would seem easier than updating to 0.6.4 and then to 0.7.0.

It is safe to upgrade an Electron from 0.5.3 to 0.7.0 in one step. You only need particle update, not the whole device doctor.

It is not safe to upgrade from 0.4.8 (very old Electrons) in one step; you need to first update to 0.5.3, then you can update to 0.7.0. This is necessary because of the change from 2 to 3 system parts on the Electron in 0.6.0.

If you are downgrading from 0.7.0, you have to downgrade to either 0.6.4 or 0.5.5 first, otherwise the bootloader will not be downgraded properly.

Thanks @rickkas7 for the clarification. Your docs have been very helpful, but I’ve run into “issues” often when getting new devices upgraded. Next time I’ll simply try particle update!