Particle Core flash but not reacting

I managed to have my old Spark Core breathing cyan and correctly identified by the Web IDE, but apparently, I’m somehow unable to flash any firmware.

What I am experiencing is the Web IDE compiling successfully and initiating the OTA flash, the core LED flashes magenta, then reboots into blinking green and the breathing cyan, but no instruction I’ve put in the firmware seems running.

I’ve tried the simple onboard LED blink and not even that works. I’ve added a couple of Particle.publish statements, but no joy.

int led1 = D0; 
int led2 = D7; 

void setup() {
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
  Particle.publish("setup");
}

void loop() {
  digitalWrite(led1, HIGH);
  digitalWrite(led2, HIGH);

  delay(1000);

  digitalWrite(led1, LOW);
  digitalWrite(led2, LOW);

  delay(1000);
  Particle.publish("loop");
}

The Core keeps breathing cyan happily, every now and then rapidly flashing cyan. On the console I can see the flash process starting, going offline and back online… followed by some more offline/online

I solved this by going back to particle cli and used the particle device doctor which cleared everything on the device through DFU and brought me up and running.

Not sure if this was caused by maybe an incorrect device os setting, the core still reports UNKNOWN as device os.

Anyway, it seems everything is fine now.

1 Like