I am having a frustrating time getting my Spark – er-- Particle core to take up any code. It “breathes” cyan and pulses magenta when I try to flash it, then blinks and re-connects, but the code selected in the Web IDE or desktop Spark Dev app (0.0.22 = VERY FLAKY FOR ME!) is not what runs on the device.
I have other cores which work fine.
I did a factory reset, etc, but no avail.
I am just testing with a simple LED blinking script and also trying to declare some Spark.variables so I can see whether the status changes online. When I try spark list from the command line, it always just says:
coreW01 (xxxxxxxx) is online
Functions:
int digitalread(String args)
int digitalwrite(String args)
int analogread(String args)
int analogwrite(String args)
I’ve checked the logs, and I don’t see your core coming back online after a factory reset today or yesterday, can you try updating your factory image, and making sure you’re doing a reset?
Hi @Dave
Setting up a new Photon that I got at Maker Faire (!) and trying to upgrade firmware as described above… (I am guessing it is not needed, but getting a Potentially unhandled rejection [4] Timed out (WARNING: non-Error used))
Just wanted to see if this still applies to Photon with its new firmware update method and also… the link to DFU mode is still busted…
Good question! Those updates only apply to the Core, and not the Photon. We're still building troubleshooting guides as issues come up, but here's the guide for updating system firmware on the photon via the CLI in the short-term: