Keil Logo

TraceDataPoint

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

Syntax Description
TDP tr_expr Sets a memory access tracepoint.

Examples:

TDP AD_last                           // Trace all write accesses to AD_last
TDP _writeacc_(AD_last)               // Trace all write accesses to AD_last
TDP _readacc_(AD_last)                // Trace all read accesses to AD_last
TDP _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 these 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.