Go Down

Topic: Error message while uploading code to my Arduino Mini (Read 74 times) previous topic - next topic


Hey, so I've been working on some code recently to build a lidar. All was well till I switched computers and now, every time I try and upload my code to my Micro, I'm getting some error messages. I cannot figure it out.
Any help will be appreciated.


Error message:
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:131)
   at processing.app.debug.Compiler.upload(Compiler.java:165)
   at processing.app.Sketch.upload(Sketch.java:1167)
   at processing.app.Sketch.exportApplet(Sketch.java:1141)
   at processing.app.Sketch.exportApplet(Sketch.java:1113)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
   at java.lang.Thread.run(Thread.java:745)
Caused by: processing.app.SerialException: Error touching serial port 'COM1'.
   at processing.app.Serial.touchForCDCReset(Serial.java:92)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:120)
   ... 6 more
Caused by: jssc.SerialPortException: Port name - COM1; Method name - openPort(); Exception type - Port busy.
   at jssc.SerialPort.openPort(SerialPort.java:164)
   at processing.app.Serial.touchForCDCReset(Serial.java:86)
   ... 7 more


Is the Micro actually attached to COM1? That would be rather unusual.

Go Up