Go Down

Topic: serial monitor problems (Read 649 times) previous topic - next topic


i've seen this problem in the forums, but the one that was relevant for Windows XP seemed to "magically work" after a while, and mine does not!
i can upload my program to the arduino, which reads in tags from the parallax RFID card reader.

i turned on my serial monitor and then get:
Error inside Serial.<init>()

gnu.io.PortInUseException: Unknown Application

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

     at processing.app.Serial.<init>(Serial.java:127)

     at processing.app.Serial.<init>(Serial.java:63)

     at processing.app.Editor.handleSerial(Editor.java:1421)

     at processing.app.EditorButtons.mousePressed(EditorButtons.java:373)

     at java.awt.Component.processMouseEvent(Unknown Source)

     at java.awt.Component.processEvent(Unknown Source)

     at java.awt.Container.processEvent(Unknown Source)

     at java.awt.Component.dispatchEventImpl(Unknown Source)

     at java.awt.Container.dispatchEventImpl(Unknown Source)

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

     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

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

     at java.awt.Container.dispatchEventImpl(Unknown Source)

     at java.awt.Window.dispatchEventImpl(Unknown Source)

     at java.awt.Component.dispatchEvent(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)

tried restarting, tried uninstalling and reinstalling drivers. nothing!



i have no solution for your problem, but on the otherhand there are better terminal programs, so you don't have to use the arduino program, i realy like Bray's terminal program




I wonder if somehow the uploading process is holding onto the serial port and preventing the serial monitor from using it.  What happens if you upload a sketch that sends serial data to the computer, then quit Arduino, then run it again and turn on the serial monitor without uploading a sketch first?  

Go Up