SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By dkadish
#180882
Hi,

I'm playing with a brand new Fio v3 and I can't seem to get any code to upload. I've been doing the proper double-tap reset, but I keep getting a jssc.SerialPortException saying "Port Busy". The port (/dev/ttyACM0) is the correct one and I have installed all of the proper board definitions.

Setup:
  • Arduino 1.6.2
  • Fedora 21
  • Fio v3
  • USB (i.e. not XBee)
The error message is:
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:133)
at processing.app.debug.Compiler.upload(Compiler.java:158)
at processing.app.Sketch.upload(Sketch.java:1260)
at processing.app.Sketch.exportApplet(Sketch.java:1202)
at processing.app.Sketch.exportApplet(Sketch.java:1174)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2471)
at java.lang.Thread.run(Thread.java:745)
Caused by: processing.app.SerialException: Error touching serial port '/dev/ttyACM0'.
at processing.app.Serial.touchForCDCReset(Serial.java:92)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:122)
... 6 more
Caused by: jssc.SerialPortException: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:86)
... 7 more
The port (/dev/ttyACM0) shows up in the /dev directory when the Fio is connected (it is the port I typically see for ATMega32U4-based boards), but it does not show up in the Arduino IDE.

Any ideas?