Tool/software: Code Composer Studio
Hello,
I bought an evaluation board for C6657, opted for the one that comes with XDS200 emulator TMDSEVM6657LS.
Now I cannot connect to the XDS200 using CCS under Ubuntu. I tried both CCS8 and CCS9. I looked into problems and solutions already proposed previously on the forum and it is still not working for me.
I tried both USB3 and USB2 ports on my laptop, not working on neither.
Firmware Update:
http://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_xds200.html#troubleshooting
"When connected to USB3.0 ports and hubs in Linux OSes, XDS200 JTAG debuggers are not able to properly be initialized by the low-level device drivers. If you update to the latest "TI emulators" package and update the firmware on the xds200 pod then you can connected it to a USB3 port with Linux."
I booted to Windows, followed the update process and the log is shown below. Still same problem.
C:\ti\ccs901\ccs\ccs_base\common\uscif\xds2xx>update_xds2xx xds200 . Updating Firmware ... . Rebooting, please wait ... . Updating CPLD ... . Reading Configuration ... . Check swRev is 1.0.0.8 or higher. . boardRev=2 ipAddress=0.0.0.0 ipConfig=dhcp ipGateway=255.255.255.255 ipNetmask=255.255.255.255 productClass=XDS2XX productName=XDS200 serialNum=00:0E:99:03:90:93 swRev=1.0.0.8 hostCPU=AM1802 emuCtrlType=Bit bang extMemType=SDRAM portUSB=true portENET=false portWIFI=false portRS232=false EnableUSBSerial=false CurrentMeasure=false . Press any key to continue . . .
Seems that the firmware was successfully updated to 1.0.0.8, but my problem is still happening.
Dmesg:
[ 2031.431984] usb 1-3: new high-speed USB device number 12 using xhci_hcd [ 2031.580965] usb 1-3: New USB device found, idVendor=0451, idProduct=bef0 [ 2031.580974] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2031.580981] usb 1-3: Product: XDS2xx USB Emulator - Composit [ 2031.580987] usb 1-3: Manufacturer: Spectrum Digital [ 2031.580993] usb 1-3: SerialNumber: S200-000E99039000
The probe is successfully initialized by the OS
lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 05c8:03ac Cheng Uei Precision Industry Co., Ltd (Foxlink) Bus 001 Device 004: ID 8087:0aa7 Intel Corp. Bus 001 Device 012: ID 0451:bef0 Texas Instruments, Inc. Bus 001 Device 002: ID 09da:51d9 A4Tech Co., Ltd. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
CCS Test Connection:
[Start: Texas Instruments XDS2xx USB Debug Probe_0] Execute the command: %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity [Result] -----[Print the board config pathname(s)]------------------------------------ /home/hd/.ti/ccs901/0/0/BrdDat/testBoard.dat -----[Print the reset-command software log-file]----------------------------- This utility has selected a 560/2xx-class product. This utility will load the program 'xds2xxu.out'. E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_io Failed to open i/o connection (xds2xxu:0) An error occurred while soft opening the controller. -----[An error has occurred and this utility has aborted]-------------------- This error is generated by TI's USCIF driver or utilities. The value is '-250' (0xffffff06). The title is 'SC_ERR_ECOM_EMUNAME'. The explanation is: An attempt to access the debug probe via USCIF ECOM has failed. [End: Texas Instruments XDS2xx USB Debug Probe_0]
PCI USB controller:
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
Questions:
- There is another usb port on the board, it seems to be an XDS100. When testing with CCS this one works but it seems it is not connected to the target processor.
Any way to connect this probe to the processor ? - I was planning to buy an external XDS200 debug probe, now I am worried it doesn't work on Linux.
Will I face the same problem with a standalone XDS200 ? Any solutions for this ? - Goes without saying, any solutions to make this work ?
Ubuntu 18.04
CCS8 and CCS901
Processor SDK: processor_sdk_rtos_c665x_5_02_00_10
Thanks