hello
on my PBG4 with osx.4.6 (J2SE 5.0, FTDIUSBSerialDriver 2.0.1), i've received error when upload prog to arduino.
RXTX leds bright... i suppose the upload is ok.
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:146)
at processing.app.Uploader.uploadUsingPreferences(Uploader.java:78)
at processing.app.Sketch.upload(Sketch.java:1689)
at processing.app.Sketch.exportApplet(Sketch.java:1749)
at processing.app.Editor$38.run(Editor.java:1866)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Atmel AVR ATmega8 is found.
Uploading: flash
Firmware Version: 1.18
Firmware Version: 1.18
there is no other prog used the serial port as describe in precedent post
i use the setup command and reboot the machine (more exactly shut down and restart as Tom Igoe explain in the processing bug page)
i've tried a simple prog to send string throug serial.
no compilation error, good tranfer, but no blinking TX's led.
i was exciting by the new version, but now :-/ :-?
if i boot my computer with the arduino plugged, serial initialize correctly and serial monitor work fine.
if i unplugged the arduino card and plug again, even if i restart IDE, serial monitor doesn't work anymore with this message
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:63)
at processing.app.Editor.handleSerial(Editor.java:1397)
at processing.app.EditorButtons.mousePressed(EditorButtons.java:373)
at java.awt.Component.processMouseEvent(Component.java:5551)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4021)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3933)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
if i boot without the card plugged, i'm enable to have serial monitor, i've got the mesage above.
:-X :-/
it was working fine in arduino003. snif
it look so simple in v003 and so complex with 004.
sorry i'm on G4 not on Intel
You may need to delete all the files in /var/spool/lock. From the Terminal, run: open /var/spool/lock
Then select all the files and delete them - you may need to authenticate.