User manual

EEP and Emulation Header User’s Guide
DS50002243A-page 18 2014 Microchip Technology Inc.
2.4 HARDWARE ADDRESS/DATA BREAKPOINTS
Up to 32 hardware address/data breakpoints are available to use on the emulation
header. Software breakpoints are useful, but real hardware breakpoints are incompa-
rable when you need unfettered control of qualifying the breakpoint/event conditions
(beyond the simple address matching). Consider the addition of a special interrupt
contextual qualifier and these hardware breakpoints offer a high degree of
configurability.
Some notable breakpoint features are listed here:
32 available address/data hardware breakpoints
Address range breakpoints (break within data or program memory address
ranges)
Data-Masking qualifier for data breakpoints (allows bit-field breakpoints)
Data-Comparison qualifier for data breakpoints (equality to)
Interrupt Context qualifier for address/data breakpoints –
Select from:
- Always break (break in both ISR and main code)
- Break in main line (non-interrupt) context only - break in main code only
- Break in interrupt context only - break in ISR code only
Trigger Out qualifier for address/data breakpoints (generate a trigger out signal on
event condition)
Select from:
- Do not trigger out when breakpoint is hit
- Trigger out when breakpoint is hit
Pass Count qualifier for address/data breakpoints (break on event condition
occurring N times)
Data breakpoints trigger on both normal and linear address modes
Breakpoints and other events can trigger without halting execution and could be
used as trigger events to other features
Address/Data Breakpoints may be found and set up on the New Breakpoint Dialog
(Debug>New Breakpoint
) by choosing either “Address” or “Data” as the “Breakpoint
Type”. After the breakpoint is created, it can be edited by right clicking and selecting
“Customize”.