I’m having the exact same problem as described in this post (which was closed a while ago):
Sorry to re-open this, but, well, I’ve made two Photons unusable now, and the apparent solution there hasn’t worked for me.
The solution in the above thread was to use the command
particle keys server
but when I do I get this error message:
Please specify a server key in DER format.
(BTW, I’m on WIndows 7.) So I tried using the “der” file produced by “particle keys doctor” (_new.der); same problem. I then tried using the “der” file produced by a “particle keys new”; same problem.
I can’t get the Photon into safe mode: it starts blinking magenta but then goes to fast blinking green and then to fast blinking cyan.
I can’t flash new code to the Photon. (This is what’s pretty serious … otherwise I’d be trying a bunch of code changes to see whether it’s in the code and if so, exactly what.)
In listening mode Ive done a “particle setup wifi”, but that didn’t change anything.
I’ve run the “photonfash.cmd” file with 0.6.1. It says it succeeded, but that didn’t fix the problem.
I’ve tried this at 2 different locations and so on 2 different networks.
Any ideas? Is there an order dependency that I’m missing? Some command I’m misusing?
Thanks in advance for any hints.
(This is getting kinda’ long so I’m adding the following points on the application as sort of a footnote. Application code is usually very relevant, but in this case I don’t see quite how.)
I’ve got one moderately substantial application running successfully on several Photons. The app I’m working on now, which is where the problem started, is much smaller, but the code is derived from the larger one, so I’m not doing anything that I didn’t before. It (the new smaller app) was working fine in AUTOMATIC mode, and since I plan to run in MANUAL mode, I changed the source to that for some more realistic testing. It was running fine for a while. The Photon needs to be connected to the cloud to re-flash it, of course, so I invoked a bit of code I wrote to do a “Particle.connect()”. (This code came directly from the larger app, where it has worked fine.) That’s when the misbehavior began. It said it connected, but didn’t (re-flashing from the web IDE timed out). So I tried to get it into safe mode, but instead it went into the fast blinking cyan. I tried all the above things to no avail.
In the source code, I changed the MANUAL mode line back to AUTOMATIC and flashed this code to the second Photon. It seemed to go through a more “stuff” – maybe the firmware was being upgraded from 0.4.9 to 0.6.1? – and when that was done the fast-blinking cyan problem started. And I’m stuck.