Serial monitor not working in spark dev

Not sure if this is a getting started issue (I’m just doing something stupid and should rtfm) or troubleshooting.

I have this super simple program:

#include "application.h"

int i;

void setup()

void loop()
  Serial.println( i++ );

I compiled it and flashed to my core successfully.

I then tried Spark–>Show serial monitor and clicked on “connect” and got this error:

I then tried putty – using the same port (com3) – and it worked just fine (connected to the core and started receiving numbers).

Is there something I need to do to make the serial monitor work correctly in spark dev?

I have the same issue.

When this happens, I usually select another port and then back the correct one. Ie. core appears on COM13, I switch to COM1, then back to COM13, then it can connect successfully. Seems like GUI shows correct value, but it is propagated to the application on change, not on start.

And sometimes Windows COM port gets “stuck” somehow, usually when resetting already connected core. Restarting SparkDev helps sometimes, but in some cases it is stuck until reboot. But it is different issue, mostly related to Windows itself.