7.3. Setting a tracepoint to trace a specific memory access

For ETM-based targets, you can limit the trace capture to specific types of memory accesses:

To limit the trace capture to specific types of memory access:

  1. In the source or disassembly view, right-click on the gray margin to the left of the required location to display context menu.

  2. Select Create Tracepoint... from the context menu to open the Create Tracepoint dialog box. Figure 7.1 shows an example:

    Figure 7.1. Create Tracepoint dialog box

    Create Tracepoint dialog box

  3. Select the required tracepoint type from the first drop-down list.

  4. Select the Data Read, Data Write, or Data Access tracepoint comparison type from the second drop-down list. The tracepoint comparison type determines which of the remaining parameters you can set.

  5. Specify the location at which the specified data access is to be traced. This can be an a single address or a range of addresses.

  6. Leave the is equal to field blank so that all accesses at the address are traced.

  7. Click OK to set the tracepoint and close the Create Tracepoint dialog box.

See also:

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