Can't connect to GUI / board on Mac - any suggestions?
Posted: Thu Apr 12, 2012 12:03 am
I just completed building a quad and am having all types of issues connecting to the board to set it up.
I've tried all combinations of arduino IDEs, MultiWii config GUIs, updated FTDI drivers, etc...
The board is the CRIUS SE, using their supplied FTDI basic breakout
The computer is a Mac, running Lion 10.7.3
When I plug the FTDI serial adapter into the USB port, I checked the console. There are 2 entries:
4/11/12 3:42:58.000 PM kernel: 0 0 AppleUSBCDC: start - initDevice failed
4/11/12 3:42:59.000 PM kernel: FTDIUSBSerialDriver: 0 4036001 start - ok
I have installed the latest FTDI drivers and am able to see the usb serial drivers loaded in the /dev directory:
ls -l /dev/*usb*
crw-rw-rw- 1 root wheel 18, 7 Apr 11 13:42 cu.usbserial-A1016LWY
crw-rw-rw- 1 root wheel 18, 6 Apr 11 13:59 tty.usbserial-A1016LWY
Is there another test I can run to make sure the FTDI serial board is working correctly?
As soon as I plug the FTDI board on the controller board, the board powers up, the blue LED flashes then goes out. The red and orange LEDs stay lit.
Going back to the Console, I see these messages:
4/11/12 3:56:36.000 PM kernel: USBF: 13760.148 [0xffffff800b9e0800] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:39.000 PM kernel: USBF: 13763.149 [0xffffff800b9e0800] The IOUSBFamily was not able to enumerate a device.
4/11/12 3:56:40.000 PM kernel: USBF: 13763.991 [0xffffff800b9e0800] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:43.000 PM kernel: USBF: 13767.389 [0xffffff800b9e0800] The IOUSBFamily was not able to enumerate a device.
4/11/12 3:56:44.000 PM kernel: USBF: 13768.214 [0xffffff800b9e0800] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:45.000 PM kernel: USBF: 13769. 46 [0xffffff800b9e0800] The IOUSBFamily gave up enumerating a USB device after 10 retries. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:45.000 PM kernel: USBF: 13769. 46 [0xffffff800b9e0800] The IOUSBFamily was not able to enumerate a device.
I can start up the MultiWii GUI fine, and the comm port shows up in the list.
As soon as I connect it to the Crius board, the board powers up, then the GUI freezes.
When I go back to check the /dev directory, the FTDI adapter is no longer listed.
Checking in the Console, there are errors being written:
[0x0-0xa60a6].MultiWiiConf_2_0[742]: gnu.io.PortInUseException: serial madness
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:452)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.serial.Serial.<init>(Unknown Source)
[0x0-0xa60a6].--- last message repeated 1 time ---
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at MultiWiiConf_2_0.InitSerial(MultiWiiConf_2_0.java:842)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at MultiWiiConf_2_0.controlEvent(MultiWiiConf_2_0.java:740)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at java.lang.reflect.Method.invoke(Method.java:597)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControlBroadcaster.invokeMethod(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControlBroadcaster.broadcast(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ListBox.controlEvent(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Controller.broadcast(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Button.setValue(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Button.mouseReleased(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Controller.setMousePressed(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControllerGroup.setMousePressed(Unknown Source)
Apr 11 13:57:26: --- last message repeated 1 time ---
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControlWindow.mouseEvent(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at java.lang.reflect.Method.invoke(Method.java:597)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet$RegisteredMethods.handle(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.handleMouseEvent(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.dequeueMouseEvents(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.handleDraw(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.run(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at java.lang.Thread.run(Thread.java:680)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: ERROR. an error occured while forwarding a Controller value
[0x0-0xa60a6].MultiWiiConf_2_0[742]: to a method in your program. please check your code for any
[0x0-0xa60a6].MultiWiiConf_2_0[742]: possible errors that might occur in this method .
[0x0-0xa60a6].MultiWiiConf_2_0[742]: e.g. check for casting errors, possible nullpointers, array overflows ... .
the list of errors goes on.
When I start the Arduino IDE, the usb serial ports show up in the Tools > Serial Port menu. When trying to upload MultiWii_2_0 with the Crius SE board specified, it says the port is not found, and then it no longer appears in the options under Tools > Serial Port menu.
Any ideas?
Thanks in advance!
I've tried all combinations of arduino IDEs, MultiWii config GUIs, updated FTDI drivers, etc...
The board is the CRIUS SE, using their supplied FTDI basic breakout
The computer is a Mac, running Lion 10.7.3
When I plug the FTDI serial adapter into the USB port, I checked the console. There are 2 entries:
4/11/12 3:42:58.000 PM kernel: 0 0 AppleUSBCDC: start - initDevice failed
4/11/12 3:42:59.000 PM kernel: FTDIUSBSerialDriver: 0 4036001 start - ok
I have installed the latest FTDI drivers and am able to see the usb serial drivers loaded in the /dev directory:
ls -l /dev/*usb*
crw-rw-rw- 1 root wheel 18, 7 Apr 11 13:42 cu.usbserial-A1016LWY
crw-rw-rw- 1 root wheel 18, 6 Apr 11 13:59 tty.usbserial-A1016LWY
Is there another test I can run to make sure the FTDI serial board is working correctly?
As soon as I plug the FTDI board on the controller board, the board powers up, the blue LED flashes then goes out. The red and orange LEDs stay lit.
Going back to the Console, I see these messages:
4/11/12 3:56:36.000 PM kernel: USBF: 13760.148 [0xffffff800b9e0800] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:39.000 PM kernel: USBF: 13763.149 [0xffffff800b9e0800] The IOUSBFamily was not able to enumerate a device.
4/11/12 3:56:40.000 PM kernel: USBF: 13763.991 [0xffffff800b9e0800] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:43.000 PM kernel: USBF: 13767.389 [0xffffff800b9e0800] The IOUSBFamily was not able to enumerate a device.
4/11/12 3:56:44.000 PM kernel: USBF: 13768.214 [0xffffff800b9e0800] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:45.000 PM kernel: USBF: 13769. 46 [0xffffff800b9e0800] The IOUSBFamily gave up enumerating a USB device after 10 retries. (Port 2 of Hub at 0xfd120000)
4/11/12 3:56:45.000 PM kernel: USBF: 13769. 46 [0xffffff800b9e0800] The IOUSBFamily was not able to enumerate a device.
I can start up the MultiWii GUI fine, and the comm port shows up in the list.
As soon as I connect it to the Crius board, the board powers up, then the GUI freezes.
When I go back to check the /dev directory, the FTDI adapter is no longer listed.
Checking in the Console, there are errors being written:
[0x0-0xa60a6].MultiWiiConf_2_0[742]: gnu.io.PortInUseException: serial madness
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:452)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.serial.Serial.<init>(Unknown Source)
[0x0-0xa60a6].--- last message repeated 1 time ---
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at MultiWiiConf_2_0.InitSerial(MultiWiiConf_2_0.java:842)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at MultiWiiConf_2_0.controlEvent(MultiWiiConf_2_0.java:740)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at java.lang.reflect.Method.invoke(Method.java:597)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControlBroadcaster.invokeMethod(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControlBroadcaster.broadcast(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ListBox.controlEvent(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Controller.broadcast(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Button.setValue(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Button.mouseReleased(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.Controller.setMousePressed(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControllerGroup.setMousePressed(Unknown Source)
Apr 11 13:57:26: --- last message repeated 1 time ---
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at controlP5.ControlWindow.mouseEvent(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at java.lang.reflect.Method.invoke(Method.java:597)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet$RegisteredMethods.handle(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.handleMouseEvent(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.dequeueMouseEvents(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.handleDraw(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at processing.core.PApplet.run(Unknown Source)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: at java.lang.Thread.run(Thread.java:680)
[0x0-0xa60a6].MultiWiiConf_2_0[742]: ERROR. an error occured while forwarding a Controller value
[0x0-0xa60a6].MultiWiiConf_2_0[742]: to a method in your program. please check your code for any
[0x0-0xa60a6].MultiWiiConf_2_0[742]: possible errors that might occur in this method .
[0x0-0xa60a6].MultiWiiConf_2_0[742]: e.g. check for casting errors, possible nullpointers, array overflows ... .
the list of errors goes on.
When I start the Arduino IDE, the usb serial ports show up in the Tools > Serial Port menu. When trying to upload MultiWii_2_0 with the Crius SE board specified, it says the port is not found, and then it no longer appears in the options under Tools > Serial Port menu.
Any ideas?
Thanks in advance!