User manual
MPLAB
®
REAL ICE
™
In-Circuit Emulator User’s Guide
DS51616A-page 34 © 2006 Microchip Technology Inc.
5.7.2.2 DATA MEMORY TAB
Set up a data memory breakpoint here.
5.7.3 Stopwatch Dialog
The stopwatch allows timing from one breakpoint/trigger condition to the next.
5.7.4 Event Breakpoints 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.
TABLE 5-4: DATA MEMORY BREAKPOINT
Control Function
Address Location of breakpoint in hex
Breakpoint Type The type of data memory breakpoint. See the device data sheet for
more information on X Bus reads/writes.
X Bus Read
– break on an X bus read of above address
X Bus Read Specific Byte
– break on an X bus read of above
address for the specific byte value in “Specific Value”
X Bus Read Specific Word – break on an X bus read of above
address for the specific word value in “Specific Value”
X Bus Write – break on an X bus write of above address
X Bus Write Specific Byte
– break on an X bus write of above
address for the specific byte value in “Specific Value”
X Bus Write Specific Word – break on an X bus write of above
address for the specific word value in “Specific Value”
Pass Count Break on pass count condition.
Always break – always break as specified in “Breakpoint type”
Break occurs Count instructions after Event
– wait Count (0-255)
instructions before breaking after event specified in “Breakpoint
type”
Event must occur Count times
– break only after event specified in
“Breakpoint type” occurs Count (0-255) times
TABLE 5-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.