-
Notifications
You must be signed in to change notification settings - Fork 132
Serial port already in use #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You may want to read this: |
Oh nice. I did search around for a bit but couldn't find anything. This works like a charm, thanks so much! Edit: what I don't understand though, is that I did not get this error in the Arduino IDE indicating it has its own 'properly compiled' rxtx if I understand correctly. Does that mean the eclipse plugin uses a different one which does have locking compiled in? |
the plugin comes with a rxtx but uses the rxtx delivered with arduino when possible (so it first tries to load the rxtx of arduino and if that fails tries to load the rxtx of the plugin. |
I have been reading up a bit on this issue and I think I get the picture. |
I think you're right about why the default library fails, what's I concluded from the discussion as well. Eclipse reports the plugin's own rxtx and again I think you're right here. Eclipse is purely 64 bit while Arduino's rxtx is a universal binary with only 32 bit intel and ppc (==very old) binaries compiled in, so it seems this explains the issue (and different behaviour of the arduino IDE). |
Great, thanks |
Each time I try to upload the sketch, Eclipse reports this message:
Serial port /dev/tty.usbmodem1411 already in use. Try quiting any programs that may be using it
.After dismissing the error it does start uploading though, and succeeds as well.
Trying to add the port (or any other serial port for that matter) to the serial monitor also results in a similar error and thus prevents me from using the serial monitor.
System details: Eclipse Kepler, OSX Mavericks, Arduino 1.5.5, plugin 2.2.0.1.
The text was updated successfully, but these errors were encountered: