11.18.4. Breaking on a data value match within a range of addresses

To set a memory access breakpoint on a data value match within a range of addresses:

  1. Connect to the target.

  2. Load an executable image.

    This procedure uses the dhrystone image provided in the RVDS examples.

  3. Select Debug → Breakpoints → Hardware → HW Break if in Range... from the Code window main menu to open the HW Break if in Range dialog box. Figure 11.35 shows an example:

    Figure 11.35. HW Break if in Range dialog box

    HW Break if in Range dialog box

  4. Choose the type of hardware breakpoint that you want to set. The default is HW Access.

  5. Specify the range of data addresses.

    For example, if you are using the dhrystone image, enter 0x8DA8..0x8EB7.

  6. If you also want to match on a specific data value:

    1. Select the And if Data Value matches check box.

    2. Enter the required data value in the data field.

  7. Click OK to set the breakpoint and close the dialog box.

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111