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.

XDS560v2 PRO TRACE in safe mode ?

Other Parts Discussed in Thread: 66AK2E05

Hi,

I have a Spectrum Digital XDS560v2 PRO TRACE, which I have been using succesfully with a 66AK2E05 board, but now it seems to not be working correctly, possible due to a booting problem.

I have it connected via LAN and USB to a Linux PC and I see the following as I power it on (times might be ~1sec off):

T0: I turn the switch on the back on and the PWR GOOD led comes on green

T0+3sec: ACTIVITY-1 led comes on green and a moment later the STATE-3 led also turns on red. The Ethernet link also comes up now.

T0+21sec: The PC detects the debugger on the USB bus, correctly it seems:

usb 2-1.1: new high-speed USB device number 14 using ehci-pci
usb 2-1.1: New USB device found, idVendor=0c55, idProduct=0562, bcdDevice=ff.ff
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.1: Product: XDS560V2u Remote Emulator
usb 2-1.1: Manufacturer: Spectrum Digital Inc.
usb 2-1.1: SerialNumber: S560-XXXXXXXXXX (ommited intentionally)

T0+24sec: ACTIVITY-1 blinks irregularly 2-3 times within ~1sec and then stays off, while STATE-3 also turns off.

After that if I try to use the debugger via CCS, eg. test my Target Configuration I get the following errors in dmesg (twice per test):

usb 2-1.1: usbfs: process 31724 (sd560v2u_server) did not claim interface 0 before use
usb 2-1.1: usbfs: process 31724 (sd560v2u_server) did not claim interface 0 before use

At first I did not notice the strange LED state (only PWR GOOD and 12V IN remain on after boot) and thought it was a software problem, so I tried with CCS10 too (had CCS9.3 before) and also with another PC but always got the same errors. I tried using dtc_conf to set and get parameters of the XDS and it seems to work, I changed the IP address and after power-cycling it I can ping the IP I set.10. I tried also changing my Target Configuration to use the LAN connection but it did not work, complaining that the connection was refused, although I saw some activity back and forth in Wireshard.

Finally, I got all the parameters using dtc_conf and noticed that safeMode is true:

addrConf=:55756
addrIo=:55755
boardRev=3
dtcName=none
epkRev=2.2.0.0
fpgaRev=none
ipAddress=10.10.10.55
ipBroadcast=none
ipClient=none
ipConfig=10.10.10.55
ipGateway=none
ipHwaddress=none
ipLeasehours=none
ipLeasetime=none
ipMtu=none
ipNetmask=none
ipNetwork=none
ipPointopoint=none
productClass=XDS560V2
productName=XDS560V2 STM DTC
safeMode=true
serialNum=XX:XX:XX:XX:XX:XX
swBuildTime=Sep 30 2011 11:26:30
swRev=2.2.0.5
time=none
vendorName=Spectrum Digital

So my question is how has this been caused and what can I do to recover and get back to using the debugger?

Thank you in advance,

Giannis

  • I tried re-flashing the firmware v2.2.0.5 and now the STATE-3 led starts off and turns on at around 24sec after boot, right about when ACTIVITY-1 blinks twice and stays off. STATE-2 is always off as before.

    dtc_conf now shows safeMode=false but when I try to test the target connection via CCS I get again the usbfs errors in dmesg and the test fails again:

    [Start: Spectrum Digital XDSPRO USB Emulator_0]
    
    Execute the command:
    
    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity
    
    [Result]
    
    
    -----[Print the board config pathname(s)]------------------------------------
    
    /home/morpheus/.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 'sd560v2u.out'.
    Loaded FPGA Image: /opt/ti/ccs901/ccs/ccs_base/common/uscif/./././././xds560v2pro.xsvf
    The library build date was 'Aug 26 2019'.
    The library build time was '12:20:35'.
    The library package version is '8.3.0.00003'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Receive::dtc_io
    E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Receive::dtc_io
    
    -----[An error has occurred and this utility has aborted]--------------------
    
    This error is generated by TI's USCIF driver or utilities.
    
    The value is '-252' (0xffffff04).
    The title is 'SC_ERR_ECOM_OPERATE'.
    
    The explanation is:
    An attempt to operate the USCIF interface via USCIF ECOM has failed.
    
    [End: Spectrum Digital XDSPRO USB Emulator_0]
    

  • Hi, Giannis,

    Sorry, we are not good at debugging Spectrum Digital's device. You may want to check with Spectrum Digital.

    Rex