User manual

Emulation Header Features
2014 Microchip Technology Inc. DS50002243A-page 19
2.5 ENHANCED EVENT BREAKPOINTS
For a definition of event breakpoints, see the MPLAB X IDE Help, “New Breakpoint
Dialog”. When creating a new breakpoint or customizing an existing breakpoint using
an emulation header, additional actions are available for event breakpoints:
Event breakpoints may be found and set up on the New Breakpoint Dialog
(Debug>New Breakpoint
) by choosing “Event” as the “Breakpoint Type”. After the
breakpoint is created, it may be edited by right clicking and selecting “Customize”.
2.6 BACKGROUND DEBUG MODE
The emulation header’s on-board -ME2 device contains a Background Debug Mode
control interface that allows you read/write access to RAM memory, SFRs, and
emulation registers while your program is running or even sleeping.
Background Debug Mode capability includes the following advantages:
Allows runtime/sleep time changes of In-Circuit Debug (ICD) settings and
breakpoints (i.e., runtime address/data/complex/event breakpoints).
Compared to debug headers (with -ICE or -ICD devices), yields noticeably faster
single-stepping speeds at lower MCU operating frequencies.
Action Description
Break break (halt) execution per option specified
Trigger out emit a trigger out pulse per option specified
Break and trigger out break (halt) execution AND emit a trigger out pulse
per option specified