Breathing Cyan "Core not found. Check that it is online" when using Build

Hi all, I’m getting this same issue.

  • I have only one core
  • I can see the core’s ID on the Cores tab
  • Core breathing cyan
  • Tinker app working - I can switch D7 led on/off
  • I can re-flash Tinker (although it takes a couple of mins of magenta flashes - is that normal?)
  • This is my very first attempt to flash firmware
  • Verifies with no errors
  • Flashing gives message “Error: Core not found. Please check that it is online.”

Not relevant, but here’s my code anyway:

void setup(){
    Serial.begin(9600);
    pinMode(7, OUTPUT);
}

void loop(){
    digitalWrite(7, HIGH);
    Serial.println("Hello");
    digitalWrite(7, LOW);
    delay(250);
}

Thanks for any assistance.

Paul

Well, I have now sucesfully flashed my core, several times. And I seem to have figured out why it did not work before. I don’t understand why, but it seemsto be consistent: I can flash using Firefox (26.0). I can’t flash with Opera (12.16). Everything else seems to work ok in Opera - saving, verifying, viewing core ID & access token, but flashing gives the “core not found” message every time.

Opera also gives me some problems when composing messages in this forum. The Preformatted text function doesn’t work properly, for example.

Its a shame, I like Opera. Its faster than Firefox, and has built-in email and html editor.

Paul

Thanks @PaulRB for reporting that; we’ll add that to our back-log to fix.

The reason for this is that the web IDE hits the API at https://api.spark.io, and since this is a different domain than the build site, it’s a cross-domain request, which different browsers handle differently. We hadn’t tested it on Opera, so I’m not entirely surprised that it wasn’t working correctly.

Hi @zach, unfortunately my success today was short lived! I now have the “other” problem. My core carries non breathing cyan and does not respond to firmware updates. Have tried factory reset twice (i.e. hold mode, click reset, continue holding mode until white flashing starts) and numerous simple resets and power cycles.

The whole wifi credentials part of factory reset is working as far as I can tell, except that I never get the shouting rainbow. It returns to breathing cyan.

After factory reset, the core seems to be flashed back to Tinker (magenta flashing for ~ 1 minute). Afterwards, I can control D7 led via tinker app again.

I am still using Firefox and the IDE is reporting “Flash successful! Please wait a moment while your Core is updated…” but the cyan breathing continues.

Paul

If you hit ‘Verify’, does your code successfully compile that way? We have a separate bug currently where sometimes ‘Flash’ says it was successful even when it actually wasn’t…

@zach, you’re absolutely right.

I had made this error in my code:

  Spark.variable("temp", &t, int);
Spark.variable("humid", &h, int);

instead of:

  Spark.variable("temp", &t, INT);
Spark.variable("humid", &h, INT);

Verify gives this message:

../95282f660199db135e987c6f4cc96679f0442b3b3226c0a7ac04f07d7cf4/the_user_app.cpp: In function 'void setup()':
../95282f660199db135e987c6f4cc96679f0442b3b3226c0a7ac04f07d7cf4/the_user_app.cpp:206:30: error: expected primary-expression before 'int'
../95282f660199db135e987c6f4cc96679f0442b3b3226c0a7ac04f07d7cf4/the_user_app.cpp:207:31: error: expected primary-expression before 'int'
make: *** [../95282f660199db135e987c6f4cc96679f0442b3b3226c0a7ac04f07d7cf4/the_user_app.o] Error 1

Error: Could not compile. Please review your code.

But presing Flash gives the message:

Flash successful! Please wait a moment while your Core is updated...

So its the same bug you mentioned.

Thanks!

1 Like