Error Touching Serial Port

Hey there, I just wanted to contribute a very small, niche, PSA

I was struggling to figure out why I was getting the error "Error touching Serial Port ‘COM6’ when I didn’t have anything plugged into my computer except for my keyboard, mouse, and XIAO. Nothing should have been interacting with any com ports. I failed to remember NZXT Cam uses USB to run the lighting on Kraken AIO coolers.

Close Cam from the task tray and it immediately allowed me to upload my sketch. This could be equally valid for other internal devices that possibly use com ports. Hope this helps if anybody has this issue in the future.

Seeeduino Xiao
Arduino IDE 1.8.13
Seeed SAMD Boards version 1.7.6 installed
“Seeeduino XIAO” Selected, Visible on COM 6 by Arduino IDE

Pasting for search-ability.

Sketch uses 33700 bytes (12%) of program storage space. Maximum is 262144 bytes.
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2055)
at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port ‘COM6’.
at processing.app.Serial.touchForCDCReset(Serial.java:107)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
… 5 more
Caused by: jssc.SerialPortException: Port name - COM6; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:101)
… 6 more

1 Like

Sometimes a user error writing Sketch results in failure to enter download mode.You can reset to download mode twice in a row