Ok, I edited the preferences file as you suggested, no luck. It says:
java.lang.NoClassDefFoundError: javax/comm/CommDriver thrown while loading gnu.io.RXTXCommDriver
processing.app.SerialException: Serial port '/dev/tty.usbserial-A4001t5b' not found. Did you select the right one from the Tools > Serial Port menu?
The Serial Port menu is still grey.
The ZEROGRAVITY device was a bluetooth headset, I deleted it and it does not show up when I ls /dev/tty anymore, but still no help. I have restarted, done everything with the Arduino software off, etc...
Is there another computer you can try uploading from, temporarily, just to see if the board works at all?
The last period isn't part of the name of the serial port, btw, it's the character that hexdump uses to represent non-printing characters, which in this case was the newline that ls outputs.
Yes, I actually did that this morning... works fine on my intel iMac - just wanted it in the macbook I can move out to my garage (where all my electronics stuff is). No big problem!
Strange. What if you upload the ASCII Table example using the other iMac, then connect the board to the MacBook. Then run (from the Terminal): screen /dev/tty.usb* 9600
Just an update.....I STILL get this message when I start the IDE.
java.lang.NoClassDefFoundError: javax/comm/CommDriver thrown while loading gnu.io.RXTXCommDriver
I have tried everything, I have used all 3, yes 3 of my Mac's and they all get the same error.
The tools>serial port is STILL greyed out and I can not select anything.
I have tried EVERYTHING, I have researched EVERYTHING....oh, and I am not all that stupid.
It works flawlessly on any PC I have tried (currently 3 different ones)
Anyone else have any ideas, I would greatly appreciate it. The reason I want it to run on my mac's is I have Flash installed on them (not my PC's) and my project requires Flash communications.
I have tried COM1, COM2, COM3 , by changing the preferences file. The tools>serial port menu is sill grayed out and I get the following response:
java.lang.NoClassDefFoundError: javax/comm/CommDriver thrown while loading gnu.io.RXTXCommDriver
processing.app.SerialException: Serial port 'COM3' not found. Did you select the right one from the Tools > Serial Port menu?
at processing.app.Serial.(Serial.java:149)
at processing.app.Serial.(Serial.java:63)
at processing.app.Editor.handleSerial(Editor.java:1485)
at processing.app.EditorButtons.mousePressed(EditorButtons.java:373)
at java.awt.Component.processMouseEvent(Component.java:5580)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
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:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
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)
It seems like the problem is with RXTX (the serial library for Java that we're using in the Arduino environment), since it seems like the board and USB communication is working fine w/ screen. My guess is that you have a version of Sun's serial library or another version of RXTX somewhere that's conflicting with the Arduino version of RXTX. What's in: /System/Library/Frameworks/JavaVM.framework/Home/lib/ext ?
I have had much the same problem with MBP(intel), OSX 10.4. and Anduino Decimalia.
I have tried pretty much everything (that I know of) and with no luck. However I am able to get the upload to the Anduino, but when I comes to serial communication it's been a dead end so far.
I have been trying to get Serial Server to work, but it seems its impossible with the RXTX driver supplied with the Andiono-0009. If I update the driver to a newer one, at least Serial Server will start, but is unable to show me what is sent from the serial port, and the Anduino IDE will not upload or show me serial data. In spite of in-depth research I have not been able to find a working alternative to Serial Server. My guess is that it's a problem with the RXTX driver..
I was, like you, hoping that I could interface with flash, but I doesn't seem possible on mac.. crap?
wurx: check out /System/Library/Java/Extensions and /Library/Java/Extensions and (in your home directory) ~/Library/Java/Extensions (if it exists). What do you see? We're looking for comm.jar or jcl.jar or RXTX-something or anything else that might be a serial communication library.
I have pretty much the same problems as described above, but my ports list is not greyed out. In Arduino10 there are two ports listed, dev/tty.modem and dev/cu.modem but neither connects to my Diecimila. The java files you mentioned are not to be found on my mac, iBook G3
A bit embarrasing, the B-connector of the USB cable wan't snuggly fit in the socket...
I guess I didn't want to break anything on my new Diecimila, so I fitted it quite loosely, and when it started blinking I assumed the connection was ok. Well, now it works perfectly well. Thanks Mellis!