User manual
MPLAB
®
ICD 3 In-Circuit Debugger User’s Guide
DS51766A-page 70 © 2008 Microchip Technology Inc.
9.3.2.2 DATA MEMORY TAB
Set up a data memory breakpoint here.
9.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.
TABLE 9-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 9-5: STOPWATCH SETUP
Control Function
Start Condition Select an available breakpoint or trigger condition to start the stop-
watch. Available breakpoints/triggers are those previously added
to the breakpoint dialog.
Select 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 Select an available breakpoint or trigger condition to stop the stop-
watch. Available breakpoints/triggers are those previously added
to the breakpoint dialog.
Select 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.