Other Parts Discussed in Thread: TMS570LS3137
Tool/software: Code Composer Studio
I bought an XDS510 galvanically isolated USB JTAG emulator, and can't seem to get it to connect properly.
I'm running Win10 x64, and have the CCSv7 installation with the Spectrum Digital drivers. The Wiki mentions that only the 64-bit versions on Linux and MacOS don't support the XDS510USB and that the Windows version of CCS is 32-bit and does support this debugger.
The error I get while trying to debug from CCS is:
Error connecting to the target:
Error 0x80000240/-2082
Fatal Error during: Initialization, OCS,
Device driver: Emulation Connection Loss Detected on Target CPU.
It is recommended to RESET EMULATOR. This will disconnect each
target from the emulator. The targets should then be power cycled
or hard reset followed by an emureset and reconnect to each target.
I get this error on both CCSv7.1 and CCSv5.5. This happens in the "configuring debugger" phase, and I can hear the "hardware disconnected" and "hardware connected" sounds chime, like the debugger is being reconnected.
Device manager and SDConfigEx both seem recognize the debugger.
SDConfigEx "Ports Available" button console output:
** Checking for available USB ports
$$ XDS510USB connected on:
$$ EmuPortAddr=0x510
$$ EmuSerialNumber=S223220035112522
Emulator --> Test console output:
** Using emulation application from directory c:\ti\ccsv5\ccs_base\emulation\drivers
** Checking for a valid emulator/eZdsp
$$ You are connected to:
$$ EmuProductName=XDS510USB
$$ EmuPortAddr=0x510
$$ EmuPortMode=USB
$$ ProductId=510
$$ ProductVersion=84
** Checking emulator/eZdsp scan connection
** Emulator Test **
$$ EmuProductName=XDS510USB
$$ EmuPortAddr=0x510
$$ EmuPortMode=USB
$$ ProductId=510
$$ ProductVersion=84
** Emulator Scan Test
Emulator --> Reset console output:
** Using emulation application from directory c:\ti\ccsv5\ccs_base\emulation\drivers
ERROR >> XDS510USB Reset failed
ERROR >>Emulator failed reset
Both "reset" and "test" give me the "hardware disconnected" and "hardware connected" sounds when clicked.
I get the same errors whether or not there is power to my target CPU (TMS320F28377S).
I have tried two different computers and get the same errors on both.
I have tried removing all versions of CCS and starting with a clean install - same errors.
Any advice is appreciated :)