@maf,
can you try upgrading OpenSSL? I have the recommendation here: Tutorial: Particle-cli on Windows [07 Jun 2015]
Let me know?
@maf,
can you try upgrading OpenSSL? I have the recommendation here: Tutorial: Particle-cli on Windows [07 Jun 2015]
Let me know?
Alack alas, no luck with the latest openssl version. Same error messages as before. I know that a factory reset risks bricking the board, but would it restore a valid key or was the key corrupted when the board was originally factory flashed?
Yow,
maf
No no. I donāt think it does and thereās no point in factory resetting for now.
May i know whatās your issue to give more concrete advice?
The Photon board would not connect out of the box, and the cause seems to be corrupt encryption keys. Iāve followed the instructions to backup and re-create keys, but the commands fail with openssl errors. It seems that any command to retrieve keys from the device encounter problems with the header length/format. As yet, no luck in getting the board to connect to the cloud and register itself.
maf
@maf,
What is the status of the RGB led? Flashing cyan with occasional orange?
Thereās a video at
Ok cool.
Thatās a little trick to solve with your situation.
Hereās a dummy public keys file: https://dl.dropboxusercontent.com/u/36134145/particle/junk.pub.pem
Can you download and do a particle keys send DEVICEID junk.pub.pem
. Be sure to replace it with the actual deviceID and once you do that, reset the Photon and it should work.
I did the above in DFU mode, then reset the board. No change in the LED behavior. After a āparticle loginā and āparticle serial wifiā command, the board remains in the same state as before. Iām also seeing the same error messages when trying to back up the keys. It doesnāt look as though the corrupt keys were replaced.
maf
You dont need to be in DFU mode to run that command. That will simply send a public key to the
Did you get something like successfully submitted a public key
?
Yes, I got a āsubmitting public keyā¦ā message followed by āsubmitting public key succeeded!ā Same message in DFU mode and setup mode. I also tried the command after the board was reset. No apparent change in behavior. Will the app recognize the board?
Ok so is it still blinking cyan with occasional orange?
Yes, same pattern as the videoā¦
Ok
dfu-util -d 2b04:d006 -a 1 -s 34 -D junk.der
dfu-util -d 2b04:d006 -a 1 -s 2082 -D cloud_public.der
OK, I do believe the board is now ābreathingā (slow rise and fall of blue). Connect via USB or app?
@maf,
It sounds like you have breathing cyan (https://docs.particle.io/support/troubleshooting-support/photon/#led-colors-explained-) which means the device is successfully connected to the
It doesnāt show up on the Particle app. How can I verify it is operating correctly?
You have the CLI right? Can you do a particle list
?
That returns āNo devices found.ā Do I need to login and set wifi credentials in setup mode?
@maf,
I do suggest following the guide again but hereās what you can do for now:
I have a feeling you are using two different accounts since submitting a key via CLI would not have worked if the device is not claimed under the account in the first place.
In the long effort to recover the board, I claimed the device many times without success. I tried the mobile app and again, it failed in the fifth step where it tries to verify product ownership. Would unclaiming the id via USB clear up the conflict? I have only one account in the cloud, BTW.
maf