I have had the same Spark Core running for 3 years or more and now suddenly it stopped working, binking, rapid green fast cyan and then once in a while it blinks yellow (2-3 times)
I have factory reseted, and then it breaths cyan but if I upload any firmware then it starts failind again, I even tried to upload just a simple Blink LED program but as soon as uploaded (or wtleast when it should be uploaded) then it starts this same blink behaviour as before
I have a particle photon also and that one is also having some troubles but not the same blink pattern though, maybe focus on the Spark Core first… any help?
There has been another report of such an issue not too long ago, have a look here
thanks for the reply, but that did not fix the problem, after following all the steps it is still Blinkin the same “pattern” rapid green, fast cyan and then few yellow blinks
What exactly did you try? Did you do a particle keys server
and particle keys doctor <device_id>
? What was the console output when running those commands?
Since the underlying issue with the Cores was a DNS resolution problem, are you behind a DNS proxy of some sort (more common on a corporate network)? If so, clearing the DNS cache may help.
yes I did particle keys server and particle keys doctor <device_id>
oputput was…
New Key Created!
Saved!
Saved!
attempting to add a new public key for device
submitting public key succeeded!
Okay! New keys in place, your device should restart.
I am just doing this at home, dont think there has been made any changes regarding the router… how can I clear DNS cache?
OK. Good to know the output from what you tried.
FYI: In a corporate network, we typically host our own internal DNS servers. Depending on the config, internal DNS servers may purposefully retain older, expired, DNS entries. We can set those servers to a set retention period which overrides the TTL settings that Particle may specify. If you don’t have a DNS server, and your router does not cache DNS entries, then you most likely don’t have any control over DNS resolution. You may also find that DNS servers hosted by your ISP also retain DNS entries past their designated expiration period. If that is the case, again, you have no control over the server… but you could change your router’s DNS server to something like 1.1.1.1 (cloudfare) or 8.8.8.8 (google). Again, DNS caching may or may not be your issue.
I’ll let someone like @ScruffR or @rickkas7 diagnose further. I don’t know all the CLI commands or the intricacies at this level.
@Mquist, have you also followed the other instructions to reflash/update the CC3000 firmware and flash a new user firmware and cleared and reapplied the WiFi credentials.
Yes did that also, what I did was
particle flash --usb cc3000
particle flash --usb tinker
particle keys server
particle keys doctor
And then in Listening Mode reapply the WiFi credentials
particle serial wifi
@Mquist, I am having the same issue on one of my Cores which ran fine until recently. I also tried the exact same things you did without success. It may still be a DNS issue. I pinged @jvanier to see if he had any insights.
now I was just opening an old photon (bought it 2 years ago or something) and I was having problem with it stuck at auto-updata end breating magenta, I did some search and ended trying
particle keys server
particle keys doctor
but with no success… this was the output
c:\OpenSSL-Win32\bin>particle keys server
Okay! New keys in place, your device will not restart.
c:\OpenSSL-Win32\bin>particle keys doctor 320040000447343337373739
New Key Created!
Saved!
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.: Error writing key to device.: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status
and now it flashes cyan and then few red
@Mquist in DFU mode, try:
particle update
particle flash --usb tinker
gives me
Your device is ready for a system update.
This process should take about 50 seconds. Here it goes!
! An error occurred while attempting to update the system firmware of your device:
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status
Please visit our community forums for help with this error:
https://community.particle.io/
Cannot read property 'code' of undefined
Can you post the complete particle update
output. Also, did you put your Photon in DFU mode first?
Do you have the latest Particle CLI installed (v1.33)?
I just did
this is the output
Your device is ready for a system update.
This process should take about 50 seconds. Here it goes!
! An error occurred while attempting to update the system firmware of your device:
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status
Please visit our community forums for help with this error:
https://community.particle.io/
Cannot read property 'code' of undefined
not sure if I have the latest CLI but I think so, can you remind me on how I can update it?
@Mquist, if you installed it using the Windows installer for CLI then you just need to particle update-cli
.
ok, that gives me
Updating CLI… no plugins to update.
Type particle --version
to see which version you have.
that gives me
1.33.0
Which version of Windows are you running. Try putting your Photon in listening mode and type particle serial inspect
and post the results.