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.

TM4C123GH6PM ETM



Dear sir,

I gone through the concept of ETM,but am in confusion that,

Is ETM is a kind of IC inside or outside the tiva mirocontroller...?

Is it using for debugging purpose...?

Is it type of UART or SPI or I2C type of protocol where data transmits between twodevices...?

thank you

  • Hello Mohammad,

    ETM stands for Embedded Trace Module. It is a module that has to be designed into the device (i.e., logic integrated into the device with access through the pins) similar to the debug interface module(s). ETM is a bit of a general term as there are different levels of support for embedded trace; instruction trace, data trace or both. The interface is not a standard such as UART, I2C, SPI or other serial protocol. Often, the interface involves multiple pins in parallel to send out relevant data to the outside tool and in some cases simple JTAG tools can be used and data is logged by the tool on the PC. In our case, ETM is defined by ARM and uses ARM IP so more information can be gathered on the ARM website. (infocenter.arm.com/.../IHI0014Q_etm_architecture_spec.pdf)

    In days past, trace use to be more widely used as JTAG and other small pin count debug interfaces were not available. Now, this feature is offered in some devices for more detailed debug since it essentially sends bus level transactions to the outside world. In many cases, the device can be setup and trace data streamed to a tool and logged allowing developers to review the operation in order to solve complex bugs or very intermittent bugs since the buffered data will have data before and after the bug occurring.

    If I recall, the tiva devices only support instruction trace but I may be incorrect on that.