User manual
EEP and Emulation Header User’s Guide
DS50002243A-page 20 2014 Microchip Technology Inc.
2.7 EVENT COMBINERS
An event combiner monitors multiple event inputs (currently breakpoints only) and can
generate a halt or a trigger out that is based on combinations and sequences of those
inputs.
Emulation headers have four (4) Event Combiners and each combines eight (8) com-
binational or sequential events into a single event trigger. Individual breakpoints may
be grouped into sequences, logical ‘AND’ lists, or a nested combination of these for
more complex control. The Event Combiners were modeled after the legacy MPLAB®
ICE 2000 complex triggers.
Set up the following complex breakpoints through selections in the Breakpoint window
(Window>Debugging>Breakpoints
).
• Complex Breakpoint Sequence
• Complex Breakpoint Latched-And
• Complex Breakpoint Nesting
2.7.1 Complex Breakpoint Sequence
A breakpoint sequence is a list of breakpoints that execute but do not halt until the last
breakpoint is executed. Sequenced breakpoints can be useful when there are more
than one execution path leading to a certain instruction, and you only want to exercise
one specific path.
To create a Breakpoint Sequence:
1. Right click on an existing breakpoint or shift click to select a group of existing
breakpoints and right click on the group.
2. From the pop-up menu, go to “Complex Breakpoint” and select “Add to New
Sequence”.
3. Enter a name for your sequence in the dialog box, and click OK.
4. The breakpoint(s) will appear under the new sequence.
To add Existing Breakpoints to a Sequence:
1. Right click on an existing breakpoint or shift click to select a group of existing
breakpoints and right click on the group.
2. From the pop-up menu, go to “Complex Breakpoint” and select “Move to Name”,
where Name is the name of the sequence.
To add a New Breakpoint to a Sequence:
Right click on the sequence and select “New Breakpoint”.
For more on setting up a new breakpoint, see Section 2.4 “Hardware Address/Data
Breakpoints” and Section 2.5 “Enhanced Event Breakpoints”.
To select the Sequence Order:
1. Expand on a sequence to see all items.
2. Right click on an item and select Complex Breakpoints>Move Up
or Complex
Breakpoints>Move Down. Sequence execution of breakpoints is bottom-up; the
last breakpoint in the sequence occurs first.
To remove Breakpoints from a Sequence:
1. Right click on an existing breakpoint or shift click to select a group of existing
breakpoints and right click on the group.
2. From the pop-up menu, go to “Complex Breakpoint” and select “Remove from
Name”, where Name is the name of the sequence.