Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumWiring HardwareTroubleshooting › Serial port not found (Mac OS X, Intel)

Page Index Toggle Pages: 1
Serial port not found (Mac OS X, Intel) (Read 11053 times)
04/08/06 at 00:31:53

awm   Offline
YaBB Newbies

Posts: 1
*
 
I'm new to Wiring and am trying to get Wiring 0005a to work on a MacBook Pro with Mac OS X 10.4.6.

I've installed the latest FTDI driver(2.2.0) for Intel Mac. The installation goes fine, and when I plug in the Wiring board to the USB port, these new ports appear in the /dev folder:
cu.usbserial-0000101D
tty.usbserial-0000101D

The power light is on and LED0 is flashing. So far so good.

The OSX Network dialog in System Preferences also recognizes the first port.

After running the setup script (macosx_setup.command), then plugging in the board, Wiring fails to recognize any ports; the Tools -> Serial Port menu is disabled.

I then copied the latest RXTX drivers(2.1-7r2), also for Mac Intel, into the proper places in the wiring-0005 folder. Wiring still fails to recognize ports.

Does anyone have any insight to the problem and its solution? Many thanks.
 
IP Logged
 
Reply #1 - 04/10/06 at 17:46:28

Alan_Kilian   Offline
Full Member
Wiring? It looks like
Java to me.

Posts: 118
***
 
I have a similar problem with Linux.

I edited the file named .wiring/preferences.txt and changed:
serial.stopbits=1
serial.databits=8
serial.download_rate=115200
serial.parity=N
serial.port=/dev/ttyUSB0
serial.debug_rate=9600

and everything works, but the serial port line is still greyed-out.

Maybe this will help you also.
 
IP Logged
 
Reply #2 - 04/11/06 at 01:06:04

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
Please try wiring-0006, it is up now, exiting new libraries, examples and bug fixes Smiley
 
IP Logged
 
Reply #3 - 05/06/06 at 09:36:43

zeni   Offline
YaBB Newbies

Posts: 1
*
 
I have the same problem with an MBP Intel.
When I choose Tools in the Wiring Menu, it crashes. I just have the time to see that Serial Port is disabled.
The error is something like:
Java.lang.nullpointerexception
apple.laf.screemenu.handlemouseevent (Screenmenu.java:191)

I' ve followed the instruction for installing and did it twice but I'm unable to load a program on the board.
With the LED blinks example, error is:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError
at wiring.app.Serial.<init>(Serial.java:140)
at wiring.app.Serial.<init>(Serial.java:107)
at wiring.app.Uploader.downloadJava(Uploader.java:109)
at wiring.app.Sketch.upload(Sketch.java:1597)
at wiring.app.Sketch.exportApplet(Sketch.java:1656)
at wiring.app.Editor$36.run(Editor.java:1836)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:2
69)
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)

Serial Monitor gives me:
xception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError
at wiring.app.Serial.<init>(Serial.java:140)
at wiring.app.Serial.<init>(Serial.java:119)
at wiring.app.Editor.handleSerial(Editor.java:1367)
at wiring.app.EditorButtons.mousePressed(EditorButtons.java:370)
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:2
69)
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)

 
IP Logged
 
Reply #4 - 08/09/06 at 18:18:48

sylvain   Offline
YaBB Newbies

Posts: 4
*
 
Any solutions yet? It also doesn't work with Wiring 7 on a Macbook. I did everything according to the installation manual. The board works on my non-Intel mac, so nothing wrong there. Is it Rosetta that is making troubles maybe?
 
IP Logged
 
Reply #5 - 09/26/06 at 09:29:10

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
Ok, it should work well with 0008, I have run some tests on both G4/G5 and Intel OSX machines to make sure things are fine. So you probably will have to do it all over. First download the proper driver for your machine from here: http://www.ftdichip.com/Drivers/VCP.htm install the drivers and run again the  macosx_setup.command inside the Wiring folder, it will ask you for your password, follow the instructions, close the window when it is done and reboot your computer.
This also fixed the port in use exception when uploading to the Wiring board or reading data from it.
 
IP Logged
 
Page Index Toggle Pages: 1