[...] usb 2-1.1: new full speed USB device using uhci_hcd and address 8 usb 2-1.1: ep0 maxpacket = 8 usb 2-1.1: default language 0x0409 usb 2-1.1: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1.1: Product: MSP-FET430UIF JTAG Tool usb 2-1.1: Manufacturer: Texas Instruments usb 2-1.1: SerialNumber: TUSB34102F518282E658FF0D usb 2-1.1: uevent usb 2-1.1: usb_probe_device usb 2-1.1: configuration #1 chosen from 2 choices usb 2-1.1: adding 2-1.1:1.0 (config #1, interface 0) usb 2-1.1:1.0: uevent ti_usb_3410_5052 2-1.1:1.0: usb_probe_interface ti_usb_3410_5052 2-1.1:1.0: usb_probe_interface - got id ti_usb_3410_5052 2-1.1:1.0: TI USB 3410 1 port adapter converter detected ti_usb_3410_5052: probe of 2-1.1:1.0 failed with error -5 usb 2-1.1:1.0: uevent usb 2-1.1: device_add(2-1.1:1.0) --> -5 drivers/usb/core/inode.c: creating file '008Notice: Your output may vary regarding different usb device names.
# echo "2" > /sys/bus/usb/devices/2-1.1/bConfigurationValueAfterwards the seriel interface should be recognized and a USB serial device created:
usb 2-1.1: adding 2-1.1:2.0 (config #2, interface 0) usb 2-1.1:2.0: uevent ti_usb_3410_5052 2-1.1:2.0: usb_probe_interface ti_usb_3410_5052 2-1.1:2.0: usb_probe_interface - got id ti_usb_3410_5052 2-1.1:2.0: TI USB 3410 1 port adapter converter detected usb 2-1.1: TI USB 3410 1 port adapter converter now attached to ttyUSB0The following udev rules automate this:
SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="0451", SYSFS{idProduct}=="f430", SYSFS{bNumConfigurations}=="2", SYSFS{bConfigurationValue}=="1", RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"
Notice: I am not very familiar with udev, so their might be, far better solutions for this problem.You need following files: libHIL.so libMSP430.so msp430-gdbproxy
Starting msp430-gdbproxy will result in the following error message:
./msp430-gdbproxy: error while loading shared libraries: libMSP430.so: cannot open shared object file: No such file or directoryYou have to modify the Environment variable LD_LIBRARY_PATH to look in the current directory for the linked libraries.
$ export LD_LIBRARY_PATH=.Another possibility would be placing the libraries in a system path for libs like /usr/local/lib. But I don't like this approach because it trashes your filesystem with files the packet managment system doesn't keep track of.
./msp430-gdbproxy --port=2000 msp430 --spy-bi-wire /dev/ttyUSB0