Hi,
Today I got a Spectrum Digital XDS200 probe and so far I could not start a debug session with my MSP432P401R Launchpad board. I can do everything using the on-board XDS110 (using the USB connection) though.
If I run the "Test Connection" inside CCS I obtain:
[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/swdev/.ti/ti/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]
I was looking into several questions posted and tried already several things to no avail. I even tried placing the JTAG connector looking one side or the other.
I am running the latest CCS 6 version 6.1.1.00022 on a Linux host (Kubuntu 15.10). I have tried re-running the installer, running manually the emupack installer (6.0.14.5), re-running the install_scripts script, and cleaning the workspace. I tried connecting to a USB 2.0 and USB 3.0 port.
The system recognizes the probe when I connect it (checked with dmesg and lsusb) and /etc/udev/rules.d/ has at least one file (71-ti-permissions.rules) that looks ok (includes the line: ATTRS{idVendor}=="0451",ATTRS{idProduct}=="bef0",ENV{ID_MM_DEVICE_IGNORE}="1", which corresponds to the idProduct of the probe). Furthermore, I can use the xds2xx_conf app and see the configuration of the probe. I was even able to do an "upgrade" with ~//ti/ccsv6/ccs_base/emulation/specdig/xds2xx/update_xds2xx.sh. I used quotes because after doing that the revision number of the firmware went from 1.0.0.8 to 1.0.0.6! That is the firmware packed with CCS6.
The thing that looks suspicious is that I had to modify the update_xds2xx.sh script and replace inside the port argument with 1, instead of 0. The same if I want to run xds2xx_conf. I needed to change the port parameter to run the test successfully:
swdev@blackbox:~/ti/ccsv6/ccs_base/emulation/specdig/xds2xx$ ./xds2xx_conf get xds2xxu 0
Error : test failed
swdev@blackbox:~/ti/ccsv6/ccs_base/emulation/specdig/xds2xx$ ./xds2xx_conf get xds2xxu 1
boardRev=1
ipAddress=0.0.0.0
ipConfig=dhcp
ipGateway=0.0.0.0
ipNetmask=0.0.0.0
productClass=XDS2XX
productName=XDS200
serialNum=00:0E:99:04:36:71
swRev=1.0.0.6 <- This was 1.0.0.8 before!
hostCPU=AM1802
emuCtrlType=Bit bang
extMemType=SDRAM
portUSB=true
portENET=false
portWIFI=false
portRS232=false
EnableUSBSerial=false
CurrentMeasure=false
I wonder if this is just related to the probe number being not updated properly, and where can that be configured.
All suggestions are welcome. Well, almost all! :)
Thank you in advance,
Bepi