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