Keil Logo

TraceAccessPoint

The TraceAccessPoint command sets a tracepoint specified by the expression (tr_expr) for a data memory access. Trace output contains the address of the instruction causing the memory access.

Syntax Description
TAP tr_expr Sets a memory access tracepoint.

Examples:

TAP AD_last                           // Trace all write accesses to AD_last
TAP _writeacc_(AD_last)               // Trace all write accesses to AD_last
TAP _readacc_(AD_last)                // Trace all read accesses to AD_last
TAP _readwriteacc_((0x8000,0xFF))     // Trace all read and write accesses to the memory
                                      // range starting at address 0x8000 with the length 0xFF

Note

  • tr_expr can specify a memory range. Memory ranges of different TAPs or TDPs should not overlap.
  • Lots of trace data are generated when a memory address range defined by a TAP is accessed frequently. This can lead to timestamp delays and hardware overflows. Restrict the address range to mitigate the effects.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.