Arduino M0 - Loads sketch but won't run, serial port disconnects.

Hi,

I've juts got a new Arduino M0, I have my sketch compiled and it seems to load, however that's as far as I get. It seems that the serial port keeps dissapearing.

When I press the reset button, the LED flashes fast, and the serial port appears "COMXX (ardiono M0)"
However, after 10 seconds the led stops flashing, fades out and the COM port dissapears!

So, although I can program the sketch within this time, I can't seem to get it to run.. and the port keeps dissapearing!?

Any help appreciated.

There is a lot of helpful hints and tips in the MKR1000 and MKR Zero section that may be of use to you.

Sorted this thanks. I was reading horror stories of the M0 / Zero not working in .cc only in .org etc so thought it was a bigger issue, however, turned out to be a bad sketch, tired the blink sketch, that worked, then found an issue in a library of my own sketch. sorted.