arduino sketch upload error

Support forum for MegunoLink
Post Reply
JohnB
Posts: 1
Joined: Fri Nov 20, 2020 1:55 pm

Fri Nov 20, 2020 2:25 pm

Hi
I've been coding an existing arduino due sketch to communicate with MegunoLink. The sketch compiles ok, but produces the error messages below when I try to upload it:
I have removed and reloaded upload monitor, and have clicked and un clicked its icon on the comms manager.
MegunoLink is communicating with the arduino through port 20, as it echoes test commands sent from the developing interface.
Could anyone help, please?
John

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:2047)
at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM20'.
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 - COM20; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:101)
... 6 more
philr
Posts: 446
Joined: Mon May 26, 2014 10:58 am

Sun Dec 06, 2020 6:29 am

Hi John, did you figure this out? Haven't seen this one before.

Cheers
Phil
Post Reply