| |||
| Home > Setting Conditional Tracepoints > Setting tracepoints to trace accesses on a specific security level | |||
For ETM-based targets that support TrustZone technology, then you can limit the trace capture to addresses in:
Secure memory space only
Normal memory space only
any memory space.
To limit the trace capture to addresses in a specific memory space for targets that support TrustZone technology:
In the source or disassembly view, right-click on the gray margin to the left of the required location to display context menu.
Select Create Tracepoint... from the context menu to display the Create Tracepoint dialog box. Figure 7.7 shows an example:
Select the required tracepoint type from the first drop-down list.
Select the required tracepoint comparison type from the second drop-down list. The tracepoint comparison type determines which of the remaining parameters you can set.
Specify the location to be traced. The address prefix determines the specific memory space:
to
capture trace in the Secure memory space, include the S: address
prefix, for example S:0x8000 or S:\TRACE\#212:0
to capture trace in the Normal memory space, include
the N: address prefix, for example N:Func_1
to capture trace in any memory space, do not include
an address prefix, for example 0x8000.
This can be an a single address or a range of addresses:
a line number in the source code, with or without
a module name prefix, for example \TRACE\#212:0
an address or address range
a function name, for example, Func_1
a function entry point, for example, Func_1\@entry.
Choose the required setting for Ignore Security Level. The following options are available:
Capture trace when the processor is in any memory space. This is the default.
Capture trace only when the processor is in either Normal or Secure memory space.
This parameter adds the hw_in:"Ignore Security Level= command
qualifier to the CLI command that is generated by RealView Debugger
when it sets a tracepoint.level"
Set any other parameters as required.
Click OK to set the tracepoint and close the Create Tracepoint dialog box.
See also:
Entering addresses, address ranges, and data address comparisons
the following in the RealView Debugger Command Line Reference Guide:
Using
variables in the debugger for details of the @entry symbol