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.

TM4C129ENCPDT: Debug Trace bus

Part Number: TM4C129ENCPDT

Hi all

The Trace bus consists of 1 clock signal and 4 trace signals: TRD0-TRD3.

I can't use the all bus signals because I prefer to dedicate those pins for another functions.

The clock is essential...But what about the other trace signals..Do I have to use the all 4 signals?

Avi Ben-Maor

  • Hello Avi Ben-Maor,
    The answer depends on the tool you use to capture the trace. There is a serial wire trace mode that is supported by the device as well as the four pin mode.
  • May I add that, "Beyond the tool employed" - usually,  "More Trace Signals" yield the "deepest insights" into the MCU's behavior.

    In essence you have "SWO" (a one-way, serial UART channel) vs. "4 bits parallel."     Normally the Trace capture results improve w/the number of bits being,  "traced."

    While you "prefer" to dedicate those pins "Away from Trace" - cannot that "preference" be (temporarily) avoided - so that  "far improved Trace Results"  become available?

    When such  "added trace insight  maximizes MCU code performance" - (then) -  proves the optimal time - to,  "steal back" those (temporary) trace pins -  & exercise your (earlier)  "preference."   (i.e.  thus achieving the "BEST of both Trace &  MCU Pin Utilization"  Worlds!)