I’ve had my Core for 2 years and it’s been running a simple code, flawlessly. Over the weekend it seemed to get stroppy and wouldn’t connect to the internet (flashing green light).
Following Particle docs, I tried to perform a reset through CLI. CC3000 & USB Tinker worked without problem but when I try to run >particle flash --factory tinker I get this :
>particle flash --factory tinker
Found DFU device 1d50:607f
spawning dfu-util -d 1d50:607f -a 0 -i 0 -s 0x00020000 -D C:\Users\Scott\AppData\Local\particle\node_modules\particle-cli\binaries\core_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 1d50:607f
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Last page at 0x000343af is not writeable
state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x00020000, size = 82864
Error writing firmware...Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Last page at 0x000343af is not writeable
C:\Users\Scott>particle keys doctor 53ff6b066667574828390976
Found DFU device 1d50:607f
Found DFU device 1d50:607f
Error creating keys... Error: Command failed: C:\Windows\system32\cmd.exe /s /c "openssl genrsa -out 53ff6b066667574828390976_rsa_new.pem 1024"
'openssl' is not recognized as an internal or external command,
operable program or batch file.
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - Error: Command failed: C:\Windows\system32\cmd.exe /s /c "openssl genrsa -out 53ff6b066667574828390976_rsa_new.pem 1024"
'openssl' is not recognized as an internal or external command,
operable program or batch file.
I’m completely out of my depth with this and would really appreciate any help at all.
Yes it was working great for 2 years. I cannot complete >particle setup because it won’t connect to wifi to allow me to claim the core. Wifi credentials are correct.
Log from Flash :
Opening DFU capable USB device…
ID 1d50:607f
Run-time device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08005000, size = 82864
Download [=========================] 100% 82864 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
I tried to flash my core again with a different computer with particle CLI installed. I still get a DFU error when I try to run this command >particle flash --factory tinker
Error writing firmware…Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Last page at 0x000343af is not writeable.
The error is constant.
When I use >particle flash --USB tinker that completes but does not resolve the problem.
After that completes I am still unable to connect to wifi or flash --factory tinker
Try this…Take a deep breath. Don’t flash it.
Type:
npm update -g particle-cli
particle update
!!! I was unable to detect any devices in DFU mode...
> Your device will blink yellow when in DFU mode.
> If your device is not blinking yellow, please:
1) Press and hold both the RESET/RST and MODE/SETUP buttons simultaneously.
2) Release only the RESET/RST button while continuing to hold the MODE/SETUP button.
3) Release the MODE/SETUP button once the device begins to blink yellow.
Still the same symptoms :
When I "particle flash --factory tinker" I get this:
Found DFU device 1d50:607f
spawning dfu-util -d 1d50:607f -a 0 -i 0 -s 0x00020000 -D /usr/local/lib/node_modules/particle-cli/binaries/core_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!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 1d50:607f
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x00020000, size = 82864
dfu-util: Last page at 0x000343af is not writeable
Error writing firmware...dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: Last page at 0x000343af is not writeable
The CC3000 update works normally
The USB Tinker update works normally.
I still have a flashing green led and a core that is useless! Thanks for your help anyway