My core also stopped accepting a new flash, about 12 hours ago. I guess I should do the factory reset also. I have been using the OTA flash on the build IDE.
I have done the factory reset, and all worked ok, I was able to flash some code, and it ran.
But, then when I made slight changes to the script, and tried to flash again, I keep getting "request timed out , flash unsuccessful ". (I have tried this morning about 12 times).
Could it have anything to do with the fact that I am using
in the code that is currently running?
SUCCESS! I took out the Spark.publish(), (after a factory reset), and now, every time I hit “flash” it does it. Glad to see “flash” working so good again.
If the Original Poster has his problem solved, and I do, someone can mark this as [SOLVED]…
That will download the compiled .bin file. In the directory that’s downloaded to, open your command prompt and do particle flash --usb firmware.bin. Assuming your device was in DFU mode, that should work.