Setting Hardware Tracepoints

You can set hardware tracepoints from the source code as well as from the Disassembly view. A hardware tracepoint is set from the source code on an instruction; while it is set from the Disassembly view on an address. You can also set hardware tracepoints from the Trace and Profile tab of the Debug Configurations window by configuring the DWT settings. Configuring DWT settings includes setting comparators as triggers along with their reference value and selecting the event that generates the comparators match. When this event occurs, triggers are fired and trace is collected.

Note: The e200 hardware does not provide support for hardware tracepoints.
Note: Do not use hardware tracepoints and software tracepoints together as they do not work simultaneously. This is because hardware tracepoints require ETM enabled, which only happens when a start software tracepoint is hit. And ETM logic has to be disabled by default when using a software tracepoint since ETM is enabled from the software interrupt code.