7.9.1. Procedure

To limit the trace capture to addresses in a specific memory space for targets that support the TrustZone architecture:

  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 display the Set/Edit Tracepoint dialog box. An example is shown in Figure 7.7.

    Figure 7.7. Set/Edit Tracepoint dialog box

    Set/Edit Tracepoint dialog box
  3. Select the required tracepoint type from the first drop-down list.

  4. 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.

  5. 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\#56: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\#56:0

    • an address or address range

    • a function name, for example, Func_1

    • a function entry point, for example, Func_1\@entry.

  6. Choose the required setting for Ignore Security Level. The following options are available:

    Yes

    Capture trace when the processor is in any memory space. This is the default.

    No

    Capture trace only when the processor is in either Normal or Secure memory space.

    Note

    This parameter adds the hw_in:"Ignore Security Level=level" command qualifier to the CLI command that is generated by RealView Debugger when it sets a tracepoint.

  7. Set any other parameters as required.

  8. Click OK to set the tracepoint and close the Set/Edit Tracepoint dialog box.

Copyright © 2006, 2007 ARM Limited. All rights reserved.ARM DUI 0322B
Non-Confidential