User manual

MPLAB
®
REAL ICE
In-Circuit Emulator User’s Guide
DS51616B-page 102 © 2008 Microchip Technology Inc.
11.3.3 Stopwatch Dialog
Click Stopwatch in the Breakpoints Dialog to display this dialog.
The stopwatch allows timing from one breakpoint/trigger condition to the next. The
stopwatch value is in decimal.
11.3.4 Event Breakpoints Dialog
Click Event Breakpoints in the Breakpoints Dialog to display this dialog.
Select a condition where the program will always break:
Break on Watchdog Timer – Break every time the watchdog timer times out. Make
sure the Watchdog Timer is enabled in the Configuration bits.
Break on SLEEP instruction – Break when a SLEEP instruction is encountered in
the program.
11.3.5 Sequenced Breakpoints Dialog
Click Sequenced Breakpoints in the Breakpoints Dialog to display this dialog.
Set up a sequential occurrence of breakpoints. Sequence execution of breakpoints is
bottom-up; the last breakpoint in the sequence occurs first.
To add a breakpoint to a sequence:
Select a breakpoint from the list of “Available Breakpoints”. Available
breakpoints/triggers are those previously added to the breakpoint dialog.
Select a sequence for the list of “Sequences”.
•Click Add.
To change the order of breakpoints in a sequence, drag-and-drop the breakpoint in the
“Sequences list”.
To remove a breakpoint from a sequence:
Select the breakpoint in the “Sequences” list.
•Click Remove.
TABLE 11-5: STOPWATCH SETUP
Control Function
Start Condition Click Select Start Condition to choose an available breakpoint or
trigger condition to start the stopwatch. Available breakpoints/trig-
gers are those previously added to the breakpoint dialog.
Click None to clear the start condition.
To halt the program run on this condition, check the check box next
to “Start condition will cause the target device to halt”.
Stop Condition Click Select Stop Condition to choose an available breakpoint or
trigger condition to stop the stopwatch. Available breakpoints/trig-
gers are those previously added to the breakpoint dialog.
Click None to clear the stop condition.
To halt the program run on this condition, check the check box next
to “Stop condition will cause the target device to halt”.
Reset stopwatch on run Reset the stopwatch values to zero every time the program is run.