Data Watchpoint and Trace (DWT)
Data Watchpoint and Trace (DWT) module provides means for generating various hardware trace events which are user configurable like hardware access breakpoints (see Access Breakpoints for more information). This is due to the same hardware comparators used for hardware access breakpoints and trace event generation.
Refer to DWT Data Comparator specific use cases via manual configuration for linking options of Comparator 1.
If DWT hardware comparators are used for access breakpoint operation, then they cannot be used for trace event generation at the same time. |
DWT with Instrumentation Trace Macrocell (ITM) is usually featured on Cortex-M devices. The DWT configuration dialog is combined with ITM configuration because the two modules are usually featured together. Not all possible options might be configurable. The set of configurable options is defined by device implementation.
HTM Trigger Configuration is accomplished via Manual Trace Configuration. You can open this dialog via View | Analyzer | Analyzer Configuration | Manual Hardware Trigger | Configure | DWT.
Access type distinction (Read, Write, Read or Write) for the DWT comparators is not supported on every device. Consult device documentation for more information on explicit access distinction. |