2001 Microchip Technology Inc.
DS51159B-page 53
Tutorial - PIC16CXXX
2.11.1
Complex Trigger as a Hardware Break Point
Reset the program by selecting Debug>System Reset or by clicking on the
toolbar reset processor icon. This will clear all break points.
To set up the complex trigger, open the Complex Trigger Settings dialog by
selecting Debug>Complex Trigger Settings. Set up the complex trigger so that
it works like the right mouse button complex trigger break point, (i.e., as a
single event sequential trigger at location
0x000A),
with Ignore FNOP
Cycles and Halt on Trigger set (Figure 2.17). Click OK.
Figure 2.17: Complex Trigger Settings Dialog - Hardware Break Point
The line
movwf PORTB
should have changed color in the source code file
window.
Run the program by selecting Debug>Run>Run or by clicking the toolbar
green stoplight icon. Again, you should see the instruction
movlw 0xFF
of
the
DELAY
routine highlighted, indicating that this is the instruction where
program execution halted, (i.e., there was a 2 instruction skid).
Summary of Contents for MPLAB ICE
Page 1: ...2001 Microchip Technology Inc DS51159C MPLAB ICE EMULATOR USER S GUIDE M...
Page 8: ...MPLAB ICE User s Guide DS51159B page viii 2001 Microchip Technology Inc...
Page 18: ...MPLAB ICE User s Guide DS51159B page 18 2001 Microchip Technology Inc NOTES...
Page 36: ...MPLAB ICE User s Guide DS51159B page 36 2001 Microchip Technology Inc NOTES...
Page 58: ...MPLAB ICE User s Guide DS51159B page 58 2001 Microchip Technology Inc NOTES...
Page 80: ...MPLAB ICE User s Guide DS51159B page 80 2001 Microchip Technology Inc NOTES...
Page 126: ...MPLAB ICE User s Guide DS51159B page 126 2001 Microchip Technology Inc NOTES...
Page 140: ...MPLAB ICE User s Guide DS51159B page 140 2001 Microchip Technology Inc NOTES...
Page 158: ...MPLAB ICE User s Guide DS51159B page 158 2001 Microchip Technology Inc NOTES...
Page 189: ...2001 Microchip Technology Inc DS51159B page 189 Index NOTES...
Page 190: ...MPLAB ICE User s Guide DS51159B page 190 2001 Microchip Technology Inc NOTES...
Page 191: ...2001 Microchip Technology Inc DS51159B page 191 Index NOTES...