Hi everyone,
I have seen several discussions in this forum in which people have received the above error when using an XDS100v2 (this may also be relevant to other versions of CCS). The error is seen when trying to connect to the emulator in CCS and also when trying to access it via the "dbgjtag" application.
I am using a Spectrum Digital XDS100v2 (USB) with a host OS of Ubuntu Linux 10.04 (If I am running the same emulator with the Windows version of CCS 5.1, the emulator runs flawlessly).
None of the comments in the discussions were of any help. I have the emulator configuration set up as required (JTAG TCLK frequency set to "adaptive"). I have also programmed my emulator with the latest CPLD code (although I do not know if the emulator already had that version in it anyway). The VID/PID reported by the emulator were also as required by CCS.
It turns out that the problem was that the drivers for the XDS100 were not installed. The instructions given when setting up CCS instruct the user to navigate to <install dir>/ccsv5/install_scripts and run the "install_drivers.sh" as root.
Running that script installs the drivers for the Spectrum Digital XDS510/560/2000 (a few variants thereof), but not for the XDS510.
I found the appropriate script for the XDS100 in <install dir>/ccsv5/ccs_base/common/uscif/install (looks like the same script is in <install dir>/ccsv5/ccs_base/install_scripts).
In any case, running "ti_xds100_linux_install.sh" as root installs the drivers for the XDS100. I had to manually restart udev ("sudo service udev restart"), but that fixed the problem.
Hopefully this will save others some time!
Regards,
Ray