XIAO upload stopped with steady blue led

Hello all

It’s seems as I have made a programming error when using the SoftwareI2C library. I uploaded a program that was running once that was stuck in the ->begin() command (known from serial output). I now tried to upload the blink example (or any other program I tried), but this is no longer possible. The Arduino IDE is compiling the code with no errror. The message switches to “Uploading…” and remains there forever (port appers properly in device manager and is properly configured in the IDE). When this message in the IDE appears, the blue led turns on and remains on. I tried to reset the XIAO with by shorting the two contacts as described in the Wiki. But this doesn’t help although the led is blinking as it should and the port is reinitialized as seen on Windows. Therefore at the moment I’m no longer able to upload any program. Does anyone know a way to overcome my problem?

Best regards, JuergL

When shorting the RST pins twice, should make the LED to breath (it looks slight different to normal blink) and your PC would appear a different COM name. Under this, then flash your program into XIAO.

2 Likes

I shorted the RST pin twice and LED went into a different state glowing lighter and darker. The port changed too. I then tried to upload the blink example. Unfortuantely in the IDE I get the message "No device found on COM10. An error occured while uploading the sketch. I have checked the port with devie manager prior to uploading and the compilation works fine. I realized that the windows file explorer appeared when I did the double reset showing drive “Arduino (E:)” with three files (current.uf2, index.htm, info_uf2.txt). First I simply closed the explorer. But in a further try I left this window open when uploading the code. And there we are it worked. So it is critical that this explorer windows remains open.

@ansonhe97 That’s for your tip who made my XIAO work again as expected!
Best Regards, JuergL

2 Likes