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.

CCS/TM4C129ENCPDT: Trace / Profiling -- which tools and connections needed?

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: TMDSEMU110-U, TMDSEMU200-U

Tool/software: Code Composer Studio

We've built a custom board with TM4C129ENCPDT and need to run Trace / Profiling on our program (such as Statistical Profiling).

On our board, PC0/TCK/SWCLK, PC1/TMS/SWDIO, PC2/TDI, PC3/TDO/SWO, RESET, GND, and VCC are routed to a connector for programming / debugging. Is this enough to run Trace as well? Are any additional connections needed?

Currently we are using the on-board ICDI of a EK-TM4C123GH6PM to program and debug our board. This setup does not support Trace. In addition to the TM4C family, we are also planning to use C2000. What trace tool(s) support both families? And will we see additional benefits for debug as well?

Is there an application note on this subject?

  • Hi,

    The XDS200 (TMDSEMU200-U) and the XDS110 (TMDSEMU110-U) support SWO Trace natively, and the connections you exposed are ok to accomplish that. For "pure" SWD operation the TDI pin can even be discarded, but it is useful to keep it if JTAG operation is desired.

    The slightly outdated page below outlines some details to use SWO on TM4C devices - don't mind the XDS200 mention on the page - it can work with XDS110 as well.

    processors.wiki.ti.com/.../SWO_Trace

    The TM4C devices can change their own system clock speed, therefore confusing the Trace engine. To workaround this, check the procedure highlighted by the e2e post below:
    e2e.ti.com/.../2347878

    DSP-only C2000 devices do not have Trace capabilities, and I suspect that Trace on Concerto (F28M) are not supported by the newest releases of CCS, but I would have to double-check that.

    Hope this helps,
    Rafael

  • Thank you for your detailed input. This was very helpful. We've studied the resources you provided and will be getting one of the XDS110 or XDS200 soon.

    It's too bad the C2000 devices don't have Trace.