12.07.2015 Views

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Debug</strong>ging with your debug hardware unit8.5 <strong>Hardware</strong> breakpointsDepending on implementation options, most <strong>ARM</strong> processors contain dedicated hardwareresources, such as <strong>ARM</strong> EmbeddedICE ® logic, for matching against specific hardware events.Your debugger enables you to configure <strong>the</strong>se resources to implement instruction and databreakpoints.NoteData breakpoints are also sometimes referred to as watchpoints.The resources available depend on <strong>the</strong> processor you are using. See <strong>the</strong> data sheet for yourprocessor for information.<strong>Hardware</strong> breakpoints might also provide additional matching capabilities. Examples of thisinclude matching on an external signal, and distinguishing between privileged andnon-privileged accesses. The Set Address/Data Breakpoint dialog box displays <strong>the</strong> capabilitiesof your hardware.<strong>Hardware</strong> instruction breakpoints do not require <strong>the</strong> instruction in memory to be changed. Thismeans that <strong>the</strong>y can be used to debug code in Flash and ROM, and can be used withself-modifying code.8.5.1 See alsoConcepts• Software instruction breakpoints on page 8-9• Processor exceptions on page 8-10• Breakpoints and <strong>the</strong> program counter on page 8-11• Interaction between breakpoint handling in <strong>the</strong> debug hardware and your debugger onpage 8-12• Problems setting breakpoints on page 8-14.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 8-8ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!