Read/write from/to the USB device that does not enumerate any device in /dev

usb

I'm using a Texas Instruments MSP430F5529 Launchpad, but it is probably not important. This device upon connection enumerates 2 ACM devices: /dev/ttyACM0 and ttyACM1. Once upgrading firmware something went wrong and these files are no longer created, that's why I cannot indicate this device to the firmware upgrade application.

However, the device can be seen in lsusb:

$ lsusb | grep Texas
Bus 001 Device 005: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 006: ID 2047:03fe Texas Instruments 
Bus 001 Device 007: ID 2047:0203 Texas Instruments 

Is there any way to access to Bus 001 Device 007: ID 2047:0203 as to a /dev/ttyACM0 ?

Best Answer

For info I had the same problem recently (I came upon this query when looking for the answer).

To use mpsdebug without the /dev/ttyACM0 or /dev/ttyACM1 devices use

lsusb | grep Texas 

to find the vid & pid - e.g

Bus 007 Device 040: ID 2047:0203 Texas Instruments 
Bus 007 Device 039: ID 2047:03fe Texas Instruments 
Bus 007 Device 038: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub

and then use (doesn't seem to matter which one)

mspdebug -U 0451:2046 tilib 

Though actually with tilib it looks like you can usually skip giving a device or USB VID:PID address at all and just do mpsdebug tilib

Related Question