PMF18WE1 Microchip Technology, PMF18WE1 Datasheet - Page 57

PROCESSOR MODULE FOR ICE4000

PMF18WE1

Manufacturer Part Number
PMF18WE1
Description
PROCESSOR MODULE FOR ICE4000
Manufacturer
Microchip Technology
Datasheet

Specifications of PMF18WE1

Module/board Type
Processor Module
Product
Microcontroller Modules
Core Processor
PIC18F6585/6680/8585/8680
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
ICE4000
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

Related parts for PMF18WE1