PMF18WD1 Microchip Technology, PMF18WD1 Datasheet - Page 57
![PROCESSOR MODULE FOR ICE4000](/photos/26/90/269011/processormodule-ice4000_general_sml.jpg)
PMF18WD1
Manufacturer Part Number
PMF18WD1
Description
PROCESSOR MODULE FOR ICE4000
Manufacturer
Microchip Technology
Datasheet
1.ICE4000.pdf
(98 pages)
Specifications of PMF18WD1
Module/board Type
Processor Module
Product
Microcontroller Modules
Core Processor
PIC18F1310 and PIC18F1320
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
ICE4000
For Use With
ICE4000 - EMULATOR MPLAB-ICE 4000 POD
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Chapter 7. Code Coverage, Trace Memory, Real-Time Reads
7.1
7.2
7.3
2004 Microchip Technology Inc.
INTRODUCTION
HIGHLIGHTS
CODE COVERAGE
For MPLAB ICE 4000, a mechanism to determine what portions of the code are being
accessed (fetched, written or read) is available. Code coverage may be set using the
Code Coverage tab on the MPLAB ICE 4000 Analyzer dialog.
Using trace, executed code may be captured into a trace buffer and displayed in the
trace memory window (View>ICE Trace.)
Using real-time reads, data may be captured real-time and displayed in several
windows.
This chapter covers:
• Code Coverage
• Trace Memory
• Real-Time Reads
The code coverage feature provides visibility as to what portions of the code are being
accessed (fetched, written or read). This code is checkmarked in the Program Memory
window.
Code coverage differs from traced code in the following way:
• Trace displays code that has been executed and tells when it was executed.
• Code coverage marks code that has been prefetched, but does not display when
This feature works by latching addresses as they appear on the bus. Thus, instructions
that follow two-cycle instructions that modify the program counter may not have been
actually executed.
With code coverage enabled, the next halt encountered by the emulator (software
breakpoint or halt command) will cause ROM locations that have been fetched to be
checkmarked in the Program Memory window.
Addresses transferred as a result of a table read (TBLRD) or table write (TBLWR) will
be traced using this method.
To enable code coverage, select Debugger>Complex Triggers and Code Coverage,
Code Coverage tab.
it was prefetched.
Note: Code coverage tags prefetched code, regardless of whether or not it
actually gets executed. Therefore, not all checkmarked code may have
been executed. See Section 7.3.2 “Tracking Code”.
MPLAB
USER’S GUIDE
®
ICE 4000
DS51490A-page 51