Hello, I'm new here, and yes, I have a problem:
Arduino IDE has suddenly decided to refuse to upload any code/sketches, even though it's been working fine since I downloaded it, after I got my Uno-compatible board in an experimenters' kit a few weeks ago.
It was a breeze to set up and worked immediately w/o problems, and I didn't do anything (that I know of) to upset it, though this morning I think my finger brushed the thing with six 'spikes' sticking out of it that sits next to the power LED and reset button and it made the red LED flash briefly. Could that have maybe damaged the components with static charge and be causing this error?(… and, 'yes, I'll be getting an antistatic wrist-strap asap'
The only thing I haven't tried in the troubleshooting doc is to substitute a different and known good USB cable, as I don't have another one with such a small size plug and I live in the Australian bush a long way from civilisation and computer shops. I'll get one if any of you recommend it, given that the power light is on, so there must be some contact at least (the USB is the only thing my Uno is plugged into).
I'm on a Mac Pro running OS X 8.2 Mountain Lion.
I've quit and restarted the IDE several times,
I've deleted the prefs,
I've rebooted the Mac,
I've tried uploading with nothing connected to the board except USB,
I've tried resetting it with the reset button just before uploading,
I've tried different code, including the Blink sketch,
I've tried quitting all other apps (except Finder of course) and running it alone (it's complaining about the USB port being in use all of a sudden),
I haven't changed anything at all since I used the IDE last night (I haven't updated Java, or thrown away and retrieved the IDE app), and everything was working fine then.
I've checked that:
The power LED is on,
The board isn't touching anything metallic (it's sitting in a plastic tray),
It's not plugged into the Mac via a USB hub,
The right board and serial port are selected,
It doesn't need a driver (I'm on a Mac and using a Uno-compatible board),
I'm not running anything that scans my USB ports,
I don't have firewall software that blocks access to serial port (my Mac's inbuilt firewall wasn't blocking the IDE before and I haven't changed anything
),
I've checked that there's a bootloader present,
Here's the error it's repeatedly throwing:
Binary sketch size: 1,084 bytes (of a 32,256 byte maximum)
processing.app.SerialException: Serial port '/dev/tty.Bluetooth-Modem' already in use. Try quiting any programs that may be using it.
at processing.app.Serial.(Serial.java:171)
at processing.app.Serial.(Serial.java:77)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:77)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:174)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:680)
processing.app.debug.RunnerException: Serial port '/dev/tty.Bluetooth-Modem' already in use. Try quiting any programs that may be using it.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:101)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:174)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:680)