User manual

MPLAB
®
REAL ICE
In-Circuit Emulator User’s Guide
DS51616A-page 36 © 2006 Microchip Technology Inc.
5.7.9 Add External Trigger Dialog
Use this dialog to set up external triggering via the logic probe port. Depending on the
processor speed, the amount of skid after the trigger can be significant.
Select a pin to use as the trigger from the pull-down menu. Once selected, the
corresponding pin is highlighted on a figure of the logic probe port as viewed from
the front of the emulator.
Next select the type of trigger.
5.7.10 Trace Window
View trace information in this window (View>Trace). See Section 5.5.1 “Capture
Trace” for more on tracing.
Traced code or variable values are visible in the top half of the window.
Line – line number of item traced
Address – line address of item traced
Value – value of traced item, if applicable
For each trace item selected/highlighted, the corresponding code line will be shown in
the bottom half of the window, if “Show Source“ has been selected.
Trace Window Menu
Below are the menu items in the Trace window right click menu.
Close
Close this window.
Find
Opens the Find dialog. In the Find What field, enter a string of text you want to find, or
select text from the drop-down list. You can also select text in the edit window or place
the cursor over a word you want to search for, before you open the Find dialog.
In the Find dialog you may select any of the available options and the direction you
want to search. Up searches backward from the insertion point, Down searches
forward.
Find Next
Find the next instance of Find text.
<F3> repeats the last Find.
<Shift> + <F3> reverses the direction of the last Find.
Go To
Jump to the specified item:
Trigger – Jump to the location of the trigger.
Top – Jump to the top of the window.
Bottom – Jump to the bottom of the window.
Go To Trace Line – Go to the trace line specified in the dialog.
Go To Source Line – Open a File window and go to the source code line
corresponding to the selected trace line.
TABLE 5-6: TRIGGER SETUP
Trigger Type Trigger Action
Input Positive or negative edge triggered Halt or Reset on trigger
Output High-to-low or Low-to-high pulse Assert on Halt or Run