Message from resetting server & device keys on electron

hello, when running the device doctor the device updated firmware ,flashed the device doctor app, cleared EEPROM storage however when resetting the server & device keys it failed with this message,
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
Okay! New keys in place, your device will not restart.
New Key Created!
I couldn't find the file: device id_ec_new.der
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - I couldn't find the file: device id_ec_new.der
The Doctor didn't complete sucesfully. undefined

Please visit our community forums for help with this error:

i tried searching the forum on keyword device id_ec_new.der
but nothing came up. a search with google on the net also on
keyword device id_ec_new.der also had no hits.
however you will notice that in the error message itself the word
successfully is spelled wrong.

the device when reset goes from breathing white to blinking green.
i do have a battery attached as well as plugged into usb. this electron
has been operating with no problems for a ~week. i get the same error
message if i run a standalone particle keys doctor

Hi @dkryder,

The CLI wants you to replace the text “device id” with the device id of your device. Put your device into listening mode (hold setup button until the led blinks blue), and run particle identify.

Thanks,
David

1 Like

yes, i’m aware of that. i was using the term as a placeholder for the actual id in the error message.

does anyone know what directory the file 44002c000xxxxx37353037_ec_new.der would be?
otherwise file deviceID_ec_new.der running keys doctor throws the error that it can not find that file.

1 Like

ok, well my device is still blinking green ~30 sec, then breathe cyan for 2 sec, then solid white for 1 sec, then repeat with green blinking.
during last 7 hours, no change. i decided to log out and log in again and this is what i get when trying to do device doctor
\WINDOWS\system32>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
    You're not logged in. Please login using particle cloud login before using this command
    as you can see i'm instructed to login

C:\WINDOWS\system32>particle login
? Please enter your email address dkryder@gmail.com
? Please enter your password [hidden]

Successfully completed login!

as you can read, i'm now successfully logged in,
i again try device doctor

C:\WINDOWS\system32>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
    You're not logged in. Please login using particle cloud login before using this command

and i'm again instructed to login, which i successfully did less than 30 sec ago.

anyone have any suggestions?

other thing i have tried

device doctor from early this morning


C:\WINDOWS\system32>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 Electron 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!

Clear all data in EEPROM storage

? Select Continue when ready Continue
Cleared EEPROM data

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
Okay! New keys in place, your device will not restart.
New Key Created!
I couldn't find the file: 44002cxxxxxx353337353037_ec_new.der
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - I couldn't find the file: 44002cxxxxxx353337353037_ec_new.der
The Doctor didn't complete sucesfully. undefined

Please visit our community forums for help with this error

C:\WINDOWS\system32>particle server doctor
particle: Unknown command: "server"

C:\WINDOWS\system32>particle keys server
Found DFU device 2b04:d00a
spawning dfu-util -d 2b04:d00a -a 1 -i 0 -s 3298 -D C:\Users\dkryd\AppData\Roaming\npm\node_modules\particle-cli\keys\ec.pub.der
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Opening DFU capable USB device...
ID 2b04:d00a
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 = 0x00000ce2, size = 320
Download [=========================] 100% 320 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Cannot open DFU device 2b04:d00a
Okay! New keys in place, your device will not restart.

flash tinker

C:\WINDOWS\system32>particle flash --usb tinker
Found DFU device 2b04:d00a
spawning dfu-util -d 2b04:d00a -a 0 -i 0 -s 0x08080000:leave -D C:\Users\dkryd\AppData\Roaming\npm\node_modules\particle-cli\binaries\electron_tinker.bin
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Opening DFU capable USB device...
ID 2b04:d00a
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 = 0x08080000, size = 5776
Download [=========================] 100% 5776 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Cannot open DFU device 2b04:d00a

Flash success!

device doctor

C:\WINDOWS\system32>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 Electron 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!

Clear all data in EEPROM storage

? Select Continue when ready Continue
Cleared EEPROM data

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
Okay! New keys in place, your device will not restart.
New Key Created!
I couldn't find the file: 44002xxxx351353337353037_ec_new.der
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - I couldn't find the file: 44002xxxx351353337353037_ec_new.der
The Doctor didn't complete sucesfully. undefined

Please visit our community forums for help with this error:

=================================================
and sorry about not having code box but it was not an option by clicking on gear.