7.2.2. Tracepoint comparison types

The tracepoint comparison type specifies the action that activates the tracepoint. The following tracepoint comparison types are available:

Instr Exec

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.

Instr Fetch

The address of each instruction fetched is compared against the address you specify.

This generates a TRACEINSTRFETCH command.

Data Read

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.

Data Write

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.

Data Access

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.

External Condition

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.

Note

Not all tracepoint comparison types are available for all tracepoint units. Also, availability is determined by what options you have already set.

Parameters available for each comparison type

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 typeAvailable 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


See also

Copyright © 2006-2011 ARM. All rights reserved.ARM DUI 0322G
Non-ConfidentialID052111