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.

Unable to connect to XDS100V2 - Ubuntu - C2000 concerto F28M35 controlboard

Hi everybody,

I'm facing a connection problem with my C2000 concerto F28M35 Experimenter kit.

the hardware is : http://www.ti.com/tool/tmdxdockh52c1 - XDS100V2


the sofware :
- CCS  Version: 5.4.0.00091
- Ubuntu 10.04 LTS
- Kernel : 3.0.0-32-generic #51~lucid1-Ubuntu SMP Fri Mar 22 17:38:22 UTC 2013 i686 GNU/Linux

the problem :
unable to connect the experimenter kit.
CCS say "IcePick_C_0: Error connecting to the target: (Error -151 @ 0x0) ..."

Things checked :
#1 : Yes, I read A LOT from the forum AND the Wiki, but dit not found the solution.

#2 : Checked the USB cable (the Docking station IS powered)
#3 : DMESG :
    usb 2-5: new high speed USB device number 5 using ehci_hcd
    usb 2-5: Ignoring serial port reserved for JTAG
    ftdi_sio 2-5:1.1: FTDI USB Serial Device converter detected
    usb 2-5: Detected FT2232H
    usb 2-5: Number of endpoints 2
    usb 2-5: Endpoint 1 MaxPacketSize 512
    usb 2-5: Endpoint 2 MaxPacketSize 512
    usb 2-5: Setting MaxPacketSize 512
    usb 2-5: FTDI USB Serial Device converter now attached to ttyUSB0

So it seems the kit is recognized.

#4 : UDEV debug :
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_VENDOR=TI'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_VENDOR_ENC=TI'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_VENDOR_ID=0403'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_MODEL=Texas_Instruments_Inc.XDS100_Ver_2.0'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_MODEL_ENC=Texas\x20Instruments\x20Inc.XDS100\x20Ver\x202.0'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_MODEL_ID=a6d0'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_REVISION=0700'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_SERIAL=TI_Texas_Instruments_Inc.XDS100_Ver_2.0'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_TYPE=generic'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_BUS=usb'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_USB_INTERFACES=:ffffff:'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_USB_INTERFACE_NUM=01'
    Sep  6 13:49:00 PC-JCN udevd-work[5009]: '/lib/udev/usb_id' (stdout) 'ID_USB_DRIVER=ftdi_sio'

same thing here.

#5 : Ubuntu 12.04 LiveCD using dbgjtag on usbstick
-> same error = not connection.
-> Dmesg say nearly the same except it print "Products :TI_Texas_Instruments_Inc.XDS100_Ver_2.0"
     the same as UDEV on U10.04.

#6 : The board - Connection is working well on another computer (WinXP)


Questions :


#1 My driver do not seems to be bad, but it seems anyway to be the problem :
      How can I but sure it is bad or not ?
Note: I switch from kernel 2.6.35 to 3.0.0 to be sure to have 'the right driver' as say on ftdi website (http://www.ftdichip.com/Drivers/VCP.htm)
          (All FTDI devices now supported in Ubuntu 11.10, kernel 3.0.0-19)

#2 is there something a miss somewhere ?

Regards,

Nicaise J-Ch

  • Hi Igor !

    Thank's for your link but I followed it long time ago ... with no chance :

    - Installation process was followed.

    - Nothing found on the FAQ

    - Troubleshooting_CCSv5 done. nothing to do ...

    - Windows related - here Linux anyway there is NOT other FTDI on the USB bus.

    - Check cable - used a second one (proved it work on another computer)

    - power cycle target : done : nothing change ...

    - VID/PID are correct regarding UDEV log

    Right now : I change to kernel 3.4.60 without luck ...

    Oh yes, the xds100serial say "No XDS100 emulators were found on the system." off course ... :(

    Still digging ...

    Regards,

    J-Ch

  • Hello Jean-Christophe,

    You are running on an actual Ubuntu machine, not from a VM.. correct?

    If the above is accurate, how did you install CCSv5? Basically did you install as root? user? did you use sudo when installing as user? etc...

    Thanks

    ki

  • Hello Ki,

    Thank's for your interest on my case :)

    Yes I'm running Ubuntu on a "pure" machine not from VM one.

    I Installed CCSv5 as root. (without sudo)

    my digging lead me to a driver problem or something like that.

    xds100serial say "No XDS100 emulators were found on the system."

    (both with the command as root and as users)

    so I strace xds100serial which actually scan all usb device found in /dev/bus/usb/*

    But since the FTDI Driver (ftdi_sio 2-6:1.1) say : usb 2-6: Ignoring serial port reserved for JTAG

    I presume it won't show this on /dev/bus/usb ...

    that's why I suspect the FTDI drivers ...

    I can Hack the driver and recompile it but I'm not sure this is the real issue ...