This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Tiusb setup in debian

Other Parts Discussed in Thread: TUSB3410

Hi

 

I am using Ti_usb_3410 to program msp430 via usb using debian. i am using debian lenny which has not get ti_usb modules built into the kernel. is there any prebuilt module available so that i can use. i tried compiling the package of ti_usb from www.brimson.com/downloads but the usberial.h was not in kernel source. any help

Thanks and regards

arungk

  • Hello Arun

    The TUSB3410 driver is included in the official Linux kernel that you can find in kernel.org. The easiest way to put this to work is recompile the kernel that you are using (we tested with the 2.6.24 kernel) so you can include the 3410 support in it as part of the kernel. The driver should be added in the menuconfig of the kernel under

     

    Device DriversàUSB supportàUSB Serial Converter supportà

     

    Select the <*>USB Serial Converter support to be compiled as part of the kernel, and then add the <*>USB TI 3410/5052 Serial driver as part of the kernel too.

     

    Please see the following screenshot:

     

     

     

    Once you recompile the kernel and you are able to boot with the new kernel version you need to create a rule file as follows:

     

    In the directory /etc/udev/rules.d/ create a file with the name 026_ti_usb_3410.rules

    Copy to into this file the following lines

    #TI USB 3410

    SUBSYSTEM=="usb_device" ACTION=="add" SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \

    SYSFS{bNumConfigurations}=="2" \

    SYSFS{bConfigurationValue}=="1" \

    RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"

     

    At the time you finish this process reboot your system and connect the 3410 EVM and you will be able to see the node in /dev/ttyUSB0 as your serial port.

     Regards

    Roberto.

  • Thanks for the reply Roberto

     

    But is there a way i can simple patch my old kernel to get the modules instead of compiling the kernel. If there is any please suggest.

     

    Thanks and regards

    arungk

  • Hello Arun,

     

    You can find a ti_usb patch at http://www.brimson.com/downloads/ the Linux community is the owner of this driver and they can help you in the driver issues. You can contact to Al Borchers (alborchers@steinerpoint.com) for more details of this drivers.

     

    Regards,

    Roberto.