Hello everyone,
I have an Arduino Uno R2, I run a GNU/Linux computer with ubuntu maverik 10.10 x86. As everyone else I had serial communication problems and proceeded to flash my firmware to the Arduino-usbserial-uno.hex provided with the distribution (using the dfu-programmer method). I thought that hadn't done anything since every time I try to upload I get the posted error and serial port /dev/ttyACM* disappears from the menu. I tried uploading as root and it worked, than i tried changing the permissions on /dev/ttyACM* but that still didn't fix it. Does anyone have any idea on how to access ttyACM* without privileges? Here is the error I get on the Arduino IDE (version 022):
Error opening serial port '/dev/ttyACM1'.
Binary sketch size: 428 bytes (of a 32256 byte maximum)
processing.app.SerialException: Error opening serial port '/dev/ttyACM1'.
at processing.app.Serial.(Serial.java:146)
at processing.app.Serial.(Serial.java:76)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:93)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:56)
at processing.app.Sketch.upload(Sketch.java:1603)
at processing.app.Sketch.exportApplet(Sketch.java:1568)
at processing.app.Sketch.exportApplet(Sketch.java:1524)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
at java.lang.Thread.run(Thread.java:636)
Caused by: gnu.io.UnsupportedCommOperationException: Invalid Parameter
at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:171)
at processing.app.Serial.(Serial.java:136)
... 9 more
processing.app.debug.RunnerException: Error opening serial port '/dev/ttyACM1'.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:99)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:93)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:56)
at processing.app.Sketch.upload(Sketch.java:1603)
at processing.app.Sketch.exportApplet(Sketch.java:1568)
at processing.app.Sketch.exportApplet(Sketch.java:1524)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
at java.lang.Thread.run(Thread.java:636)
Thanks