Part Number:AM5716
Tool/software: Code Composer Studio
I'd like to take advantage of the Hardware Trace Analyzer tools built into Code Composer Studio v7.0 (such as Function Profiling) as described in SPRUHM7B. The target I would like to profile is the C66x DSP core on an AM5716 processor. The DSP firmware is built on top of TI SYSBIOS. I have a target configuration in Code Composer Studio with which I can successfully connect to the processor, load programs, and use the debugger. However, when I try to open any of the Hardware Trace Analyzer tools, I receive the following error message:
Error connecting to the target (Error -2131 @0x1)
Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.504.1)
I'm using an XDS200 emulator to connect over JTAG. A little bit of research here on the E2E forums suggested that I might need to set the JTAG / cJTAG / SWD Mode setting of the target configuration to SWD Mode - User COM port is target TDO pin, but after trying that I wasn't able to connect at all:
-----[An error has occurred and this utility has aborted]--------------------
This error is generated by TI's USCIF driver or utilities.
The value is '-615' (0xfffffd99).
The title is 'SC_ERR_SWD_PROTOCOL'.
The explanation is:
The target failed to see a correctly formatted SWD header. The
connection to the target may be unreliable. Try lowering the
TCLK setting before trying again.
[End: Texas Instruments XDS2xx USB Debug Probe_0]
Any ideas about what the problem might be? The documentation regarding setup (and compatibility) for these tools has unfortunately been difficult to find. Is it even possible to run the Hardware Trace Analyzer tools on a C66x core of an AM571x processor using an XDS200? Thanks in advance!