| |||
| Home > Setting Conditional Tracepoints > Common parameters for setting conditional tracepoints > Tracepoint comparison types | |||
The tracepoint comparison type specifies the action that activates the tracepoint. The following tracepoint comparison types are available:
The address of each instruction that is presented to the execution unit is compared against the address you specify (even though the instruction might not be executed if its condition code evaluates to False).
This generates a TRACEINSTREXEC command.
The address of each instruction fetched is compared against the address you specify.
This generates a TRACEINSTRFETCH command.
The meaning of this type depends on whether or not you specify a data value:
If you do not specify data value, then the address of the data read from is compared against the address you specify.
If you specify a data value, then the data value read from the specified address is compared against the value you specified.
This generates a TRACEDATAREAD command.
The meaning of this type depends on whether or not you specify a data value:
If you do not specify data value, then address of the data written to is compared against the address you specify.
If you specify a data value, then the data written to the specified address is compared against the value you specified.
This generates a TRACEDATAWRITE command.
The meaning of this type depends on whether or not you specify a data value:
If you do not specify data value, then address of the data accessed, in either a read or write direction, is compared against the address you specify.
If you specify a data value, then the data value accessed at the specified address, in either a read or write direction, is compared against the value you specified.
This generates a TRACEDATAACCESS command.
The tracepoint is activated on one of the following events:
external inputs 1 to 4
extended external inputs 1 to 4 (for ETMv3.1, and later)
EmbeddedICE® watchpoints 1 and 2
access to ASIC memory maps 1 to 16.
The ASIC manufacturer determines the availability and usage of these input signals. See your ASIC documentation for details.
This generates a TRACEEXTCOND command.
Not all tracepoint comparison types are available for all tracepoint units. Also, availability is determined by what options you have already set.
The tracepoint comparison type determines which parameters you can set, shown in Table 7.1. The Ignore Security Level parameter is available only on targets that support TrustZone® technology.
Table 7.1. Parameters available for each comparison type
| Comparison type | Available parameters |
|---|---|
| Instr Exec | when (location specifier) Pass times Size of Data Access Check Condition Code Ignore Security Level |
| Instr Fetch | when (location specifier) Pass times Size of Data Access Ignore Security Level |
| Data Read | when (address or address range) is equal to (optional value) Pass times Size of Data Access Ignore Security Level |
| Data Write | when (address or address range) is equal to (optional value) Pass times Size of Data Access Ignore Security Level |
| Data Access | when (address or address range) is equal to (optional value) Pass times Size of Data Access Ignore Security Level |
| External Condition | when (External Condition) Pass times |
the following in the RealView Debugger Command Line Reference Guide:
Alphabetical command reference for details of the trace commands.