After several hours of successfully loading sketches on my XIAO ESP32C3, I suddenly got this:
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
A fatal error occurred: No serial data received.
Failed uploading: uploading error: exit status 2
I did not touch the R or B buttons. Tried other sketches with the same results.
Replaced board with another and have not had any further problems.
I had the same problem happen when i was trying to get the Round Display to work with demo… I have used this XIAO many times with no problem so it has to have something to do with those libraries
Hi there,
Yes, They seem to getinto a funk mode, However once you get it back, reload a basic known good sketch and bootloader should get you back to UPLOAD without any buttons(except maybe a reset after, now and then) I have found. YMMV
I do require to set the device type and com port each time in Arduino IDE so far only if I send it a bootloop code does it act wacky and I have to use the bootloader button again.
Thats how its working here.
HTH
GL PJ