MPLAB
®
ICE User’s Guide
DS51159B-page 16
2001 Microchip Technology Inc.
Also, performing a Filter Trace on Data Memory access is not recom-
mended, since the traced data will be one cycle after the trigger specifi-
cation.
Click on the Help button to bring up the on-line help file to walk you through
setting up a complex trigger.
In addition, a simple complex trigger break point can be set by using the right
mouse button. In a source window, a listing window, or the program memory
window, select the desired lines by clicking and dragging. Then select
Complex Trigger Break Point on the right mouse button menu. This will set up
and apply a single event sequential trigger with Ignore FNOP Cycles and Halt
on Trigger set. The Complex Trigger dialog does not have to be open.
Using Code Coverage
The code coverage feature provides visibility as to what portions of the code
are being accessed (fetched, written or read). This code is highlighted in the
Program Memory window.
• To enable code coverage, select Debug > Code Coverage and choose
either Enabled/Reset on Run or Enabled/Manual Reset. If Enabled/
Reset on Run is selected, code coverage is reset every time emulation
is started.
• If Enabled/Manual Reset is selected, code coverage is reset only when
a reset (Chapter 6.4) is performed.
• Select Options>Environment Settings>Color and chose a color for
Trace Point Text. This will be the code coverage highlighted text color.
• To disable code coverage, select Debug>Code Coverage and click on
Disabled.
Using the Trace Memory Window
The trace memory window in MPLAB ICE contains information that is
uploaded from MPLAB ICE’s trace buffer. By default, all instruction cycles are
captured by the trace buffer. The Complex Trigger dialog can be used to
control which instruction cycles are captured (see Using Complex Triggering).
Note:
When triggering on multiple events, keep in mind that triggers
on data memory accesses are skewed two cycles from the
instructions that caused them.
Note:
Code coverage and complex triggering are mutually exclusive.
Содержание 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...