9.3. Programming Breakpoints

Breakpoints can be classified as hardware breakpoints or software breakpoints.

Hardware

These typically monitor the address value and can be set in any code, even in code that is in ROM or code that is self-modifying.

Software

These monitor a particular bit pattern being fetched from any address. One EmbeddedICE watchpoint can thus be used to support any number of software breakpoints. Software breakpoints can normally only be set in RAM because an instruction has to be replaced by the special bit pattern chosen to cause a software breakpoint.

Copyright © 1997, 1998 ARM Limited. All rights reserved.DDI 0087E
Non-Confidential