MPLAB
®
ICE User’s Guide
DS51159B-page 148
2001 Microchip Technology Inc.
Set up the Complex Trigger Settings dialog for Filter Trace on Program
Memory. Ignore FNOP Cycles should not be checked.
Enter the address range of the routine (either numeric addresses or labels). In
Figure A.1, the address range is
numout:numout_x
.
If Infinite Events is checked, uncheck it. Then enter the number of Captured
Events, or the number of times you want to capture the routine to the Trace
Memory Window. In Figure A.1, the Captured Events are 200.
Finally, check Halt on Trace Buffer Full.
Click Apply or OK.
Reset the system (Debug>System Reset) and then run your program
(Debug>Run>Run, green stoplight icon on toolbar or <F9>). After it halts,
bring up the Trace Memory Window (Window>Trace Memory).
Figure A.9: Trace Display - Filter Trace for Variable
In Figure A.9, the value of
num_out
goes 0,1,2,0... It should be incrementing
to 3 instead. Something must be setting it to 0. Since the value is initialized
once to zero, triggering on the second occurrence should capture the problem
area.
To clear all break, trace and trigger points, select Debug>Clear All Points.
Re-open the Complex Trigger Settings dialog (Debug>Complex Trigger
Settings) and set two sequential events to the same address in program
memory.
Содержание MPLAB ICE
Страница 1: ...2001 Microchip Technology Inc DS51159C MPLAB ICE EMULATOR USER S GUIDE M...
Страница 8: ...MPLAB ICE User s Guide DS51159B page viii 2001 Microchip Technology Inc...
Страница 18: ...MPLAB ICE User s Guide DS51159B page 18 2001 Microchip Technology Inc NOTES...
Страница 36: ...MPLAB ICE User s Guide DS51159B page 36 2001 Microchip Technology Inc NOTES...
Страница 58: ...MPLAB ICE User s Guide DS51159B page 58 2001 Microchip Technology Inc NOTES...
Страница 80: ...MPLAB ICE User s Guide DS51159B page 80 2001 Microchip Technology Inc NOTES...
Страница 126: ...MPLAB ICE User s Guide DS51159B page 126 2001 Microchip Technology Inc NOTES...
Страница 129: ...2001 Microchip Technology Inc DS51159B page 129 Verification Figure 7 3 Verify MPLAB ICE Run Mode Tests...
Страница 140: ...MPLAB ICE User s Guide DS51159B page 140 2001 Microchip Technology Inc NOTES...
Страница 158: ...MPLAB ICE User s Guide DS51159B page 158 2001 Microchip Technology Inc NOTES...
Страница 189: ...2001 Microchip Technology Inc DS51159B page 189 Index NOTES...
Страница 190: ...MPLAB ICE User s Guide DS51159B page 190 2001 Microchip Technology Inc NOTES...
Страница 191: ...2001 Microchip Technology Inc DS51159B page 191 Index NOTES...