10.14.6. Breaking on accesses at multiple locations

To set memory access breakpoints on accesses at multiple locations:

  1. Select Debug ? Breakpoints ? Hardware ? HW Break if X, then if Y... from the Code window main menu.

    The HW Break if X, then if Y dialog box, shown in Figure 10.27, is displayed.

    Figure 10.27. HW break if X, then if Y dialog box

    HW break if X, then if Y dialog box
  2. Choose the type of hardware breakpoint that you want to set for the first breakpoint unit:

    • HW Access

    • HW Read

    • HW Write

    • HW Instr.

  3. Specify the location for the first breakpoint unit (X), which can be:

  4. Choose the type of hardware breakpoint that you want to set for the second breakpoint unit. The options are:

    • HW Access

    • HW Read

    • HW Write

    • HW Instr.

  5. Specify the location for the second breakpoint unit (Y), which can be:

  6. Click OK to set the breakpoint units, and close the dialog box.

This creates a breakpoint chain (see Chaining hardware breakpoints for more details), shown in Figure 10.28. Chained breakpoints activate only when all breakpoint units have activated.

Figure 10.28. Chained breakpoints

Chained breakpoints
Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0153H
Non-Confidential