Hi,
Thought I would update on my issues with this from August 2020!! I built a brand new PC. Windows 10 latest patch levels as of today.
I can consistently upload sketches to my XIAO but I have to follow this slightly painful procedure:
- Fresh boot, plug in my XIAO and check Device Manager to see it on COM3.
- Turn on hidden devices in Device Manager.
- Run the IDE (1.8.18) with my sketch and upload and it works fine, I see the XIAO flip to COM4, upload the sketch and then flip back to COM3.
- From that point I cannot upload again - it just hangs although I think it still times out eventually (I don’t wait any more).
- If I do any work or test compile BEFORE trying to upload it generally doesn’t work. So I get into a loop of upload, testing, fix stuff, reboot, upload…
So now…
- Disconnect the XIAO and Uninstall the two hidden COM3/4 devices.
- Close everything else down (IDE and Device Manager) and restart Windows then, most of the time, the above is repeatable.
- Occasionally, and I usually treat this as time to have a break, even a restart doesn’t work and I have to shutdown and power off for a few mins.
The USB driver which Device Manager reports is an MS one from 21/6/2006 - 10.0.19041.1202 I have tried upgrading to one from the IDE folders but Windows just tells me that the MS one is the best.
I don’t particularly want to stop using the Arduino IDE as I’m used to it. I did try the new V2 one but can’t get it to work at all yet, maybe it needs a fresh install of everything.
If anyone has any more hints then that would be great. One possibility might be to update the bootloader on my XIAO but I’ve yet to find a way (with the kit I have) that allows me to do that.
Thanks