13.07.2015 Views

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Working with Breakpoints4.5 Setting hardware breakpoints explicitlyUse hardware breakpoints to set execution or data breaks, or where your code is storedin ROM or Flash (see Breakpoints and memory map locations on page 4-9). Thefacilities available depend on the current debug target, that is both the target processorand the target vehicle.To set hardware breakpoints, you must be connected to a debug target that supportsthese features, such as an <strong>ARM</strong> processor with EmbeddedICE logic (for example, an<strong>ARM</strong>966E-S), or simulator software that supports this feature (for example, <strong>RealView</strong>Simulator Broker connections to RVISS).Menu options related to hardware breakpoints are grayed out if your target cannotsupport them. Similarly, <strong>RealView</strong> <strong>Debugger</strong> displays a message if you select an optionfrom a drop-down list box that is not supported by your debug target. Check yourhardware characteristics (see Viewing your hardware breakpoint support on page 4-13),and your vendor-supplied documentation, to determine the level of support forhardware breakpoints.This section includes:• Using the HW Break if in Range dialog box• Using the HW While in function/range, Break if X dialog box on page 4-26• Using the HW Break if X, then if Y dialog box on page 4-27• Using the HW Break on Data Value match dialog box on page 4-29• Chaining breakpoints on page 4-30.NoteThe methods described in this section create unconditional hardware breakpoints. To setconditional hardware breakpoints, see Setting conditional hardware breakpoints onpage 4-38.4.5.1 Using the HW Break if in Range dialog boxThe HW Break if in Range dialog box enables you to set, or modify, a hardwarebreakpoint at the specified location. A single breakpoint instance is created. Thebreakpoint is triggered if the PC is within the given address range and, optionally, datamatches a specified value.Displaying the dialog boxTo display the HW Break if in Range dialog box, shown in Figure 4-6 on page 4-25,select the following option from the Code window main menu:4-24 Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0153G

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!