Hello all,

Finally getting round to playing with the board. I’ve run into a problem straight away, I can’t get a modified blink sketch to upload.

on first connecting the board the bootloader appeared to run then the arduino entered the standard blink sketch. I thought to test it tweak the sketch to increase the gap between flashes in second increments up to 3 seconds,

I hit reset on the board, then upload. This follows

Error inside Serial.()

gnu.io.PortInUseException: Unknown Application

at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)

at processing.app.Serial.(Serial.java:127)

at processing.app.Serial.(Serial.java:72)

at processing.app.Uploader.uisp(Uploader.java:156)

at processing.app.Uploader.uploadUsingPreferences(Uploader.java:78)

at processing.app.Sketch.upload(Sketch.java:1693)

at processing.app.Sketch.exportApplet(Sketch.java:1755)

at processing.app.Editor$40.run(Editor.java:1892)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Error: Permission denied
→ /dev/com3

this looks more like the mac related from the FAQ.

I’m using an USB arduino, win XP SP2, Java5r11 and arduino 0007 environment.

I guess that I’m missing something basic, and it’s getting late.



p.s. If this has been asked and answered before, I apologise and could someone point me in that direction.


See the troubleshooting guide: http://www.arduino.cc/en/Guide/Troubleshooting#upload

Thanks, I had a look at that last night. I’ve been through that list with no joy as yet. :’(

Does anyone know what the macosx_setup.command does? As that seems to be the problem that I’m having, however being a pc user I’ll have to translate it over.



The macosx_setup.command is specific to the Mac; it wouldn't mean anything to port it to Windows.

Are you sure you're using the right serial port? (Did you check in the Device Manager for the USB serial device?)

Usually that error means what it says: that something else is using the serial port. Are you running any firewalls or virus scanners? PDA sync applications? Using Processing's serial library? etc.

Thanks for the heads up on the mac front.

I'm using com3 in the environment, that ties up with device manager. I have no other USB - serial interface applications, I'm using a network hardware firewall, virus scanner could be an issue. I'm using AVG 7.5.x.x., any experience of issues with it?

I'll try knocking it out this evening when I get home from work and see what happens from there.

Thank you


Knocking out AVG got it up and running! :)