Hello,
I am trying to get the USB FET working under Linux, and am having the following problem with msp430-gdbproxy (Running as non-root or root):
:~$ msp430-gdbproxy --port=2000 --debug msp430 TIUSB
debug: msp430: msp430_open() open: No such file or directory error: msp430: Could not initialize device interface (1) debug: msp430: msp430_open() open: No such file or directory error: msp430: Could not initialize device interface (1) ...
This seems like either a permission or node creation problem, but I have a FET rule in udev, and /dev/ttyUSB0 is being created:
:~$ls -al /dev/ttyUSB* crw-rw---- 1 root dialout 188, 0 2007-10-10 17:52 /dev/ttyUSB0
I manually change the permissions to 777 and when I run gdbproxy as root I get the same thing. Here is my udev rule (26-ti.rules. Note that the MODE setting doesn't appear to work. Very new to udev):
SUBSYSTEM=="usb_device" ACTION=="add" SYSFS{product}=="MSP-FET430UIF JTAG Tool", SYSFS{bNumConfigurations}=="2", SYSFS{bConfigurationValue}=="1", RUN+="/bin/sh -c 'echo 2 >/sys%p/ device/bConfigurationValue'", MODE="0777"
I know the hardware is good, as I can get Code Composer to work fine in Windows. One other little variable: I am running in VMWare Workstation on top of W2k. Any thoughts would be much appreciated.
Thanks,
Shane
********************************************Some system specifics: V1.4a FET Ubuntu Feisty
2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux Running on VMWorkstation 6.0.1 B-55017 on top of WIndows 2K.Here is my lsusb: Bus 002 Device 001: ID 0000:0000 Bus 001 Device 003: ID 0e0f:0002 Bus 001 Device 002: ID 0451:f430 Texas Instruments, Inc. Bus 001 Device 001: ID 0000:0000
Here is dmesg as the FET is plugged in: [ 662.408000] ti_usb_3410_5052 1-1:2.0: device disconnected [ 666.480000] usb 1-1: new full speed USB device using uhci_hcd and address 4 [ 666.676000] usb 1-1: configuration #1 chosen from 1 choice [ 666.684000] ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected [ 667.404000] usb 1-1: reset full speed USB device using uhci_hcd and address 4 [ 667.548000] usb 1-1: device firmware changed [ 667.548000] ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5 [ 667.548000] usb 1-1: device_add(1-1:1.0) --> -5 [ 667.548000] usb 1-1: USB disconnect, address 4 [ 667.664000] usb 1-1: new full speed USB device using uhci_hcd and address 5 [ 667.844000] usb 1-1: configuration #1 chosen from 2 choices [ 667.848000] ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected [ 667.848000] ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5 [ 667.848000] usb 1-1: device_add(1-1:1.0) --> -5 [ 668.016000] ti_usb_3410_5052 1-1:2.0: TI USB 3410 1 port adapter converter detected [ 668.016000] usb 1-1: TI USB 3410 1 port adapter converter now attached to ttyUSB0