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.

Using XDS100 port B from Linux as a virtual COM port

Other Parts Discussed in Thread: TMS320F28335

Hi,

We're in the process of writing a custom host side UART boot-loader that will run on a Linux host. We have a C5535 eZdsp kit with an on-board xds100. Would we be able to access the USB virtual com port on the XDS100 (port B) from Linux? I assume we need the XDS100 drivers but from the searchig I've done so far, I haven't found the XDS100 drivers for Linux as stand-alone. We want to avoid installing CCS on our linux machine just to get XDS100 drivers. I'm also not sure if we do install CCS if we can access the virtual com port.

 

Thanks

  • Quick update: We installed CCS in Linux and was able to use the virtual com port.

  • Hi Brad,

    I'm using a 28069 control card via linux CCS5.2 and would also like to use the virtual com port to talk to my 28069 while running some code, but I can't see any new serial devices under /dev.

    What device did you use to access the virtual com port?

    cheers

    Chris

  • Chris,

    Usually the XDS100 device drivers installed with CCS create two virtual serial ports under /dev: /dev/ttyUSB0 and /dev/ttyUSB1

    However, keep in mind that certain boards (BeagleBone, etc.) come with a different USB VID/PID and therefore require the regular FTDI drivers to be installed (check this FAQ). I don't think that is the case for the F28069 dock/control card.

    Hope this helps,

    Rafael

  • Hi Rafael,

    thank you for your answer. I can't see any /dev/ttyUSB0/1 when my control card is plugged in. In fact when I disconnect it and plug it in, I can't see any changes in the /dev directory.

    It must be creating a device some where because CCS5.2 can connect and talk to my control card.

    When I plug the control card in I do see the device on the USB bus, eg lsusb

           Bus 001 Device 013: ID 0403:a6d0 Future Technology Devices International, Ltd

    On a windows PC I had to enable the driver before I could see the serial port.

    cheers

    Chris

  • A fix that worked for me was , on Ubuntu 12.04, to type the following command in a terminal for the dockstation of the TMS320F28335:

    rmmod ftdi_sio

    modprobe ftdi_sio product=0xa6d0 vendor=0x0403


    You can also edit your udev rules so it load it automatically.