MPLAB ? ICE 4000
USER ’S GUIDE
Chapter 7. Code Coverage, Trace Memory, Real-Time Reads
7.1
7.2
7.3
INTRODUCTION
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.
HIGHLIGHTS
This chapter covers:
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 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
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” .
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.
? 2004 Microchip Technology Inc.
DS51490A-page 51
相关PDF资料
PMF18WE0 PROCESSOR MODULE FOR ICE4000
PMT823004F GP THREE ELEMENTS S.A. 230V T/H
PPM3-MK2 PROGRAMMER PRODUCTION ISP
PPM3A1-UPG5M UPGRADE PPM3 RAC DEVELOPMENT
PQ-MDS-PCIEXP PCI EXPANDER ADAPTOR
PQF-44 PLUG QFP 44PIN (SOLDER DOWN)
PRG18BB471MS1RB THERMISTOR
PS1600 POWER SUPPLY HOTSWAP 90-245V
相关代理商/技术参数
PMF18WE0 功能描述:插座和适配器 Processor MOD RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WE0 制造商:Microchip Technology Inc 功能描述:Tools Emulator For Use With:P
PMF18WE1 功能描述:插座和适配器 PIC18F8680 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WF0 功能描述:插座和适配器 Processor Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WH0 功能描述:插座和适配器 PIC18F ICE4000 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WJ0 功能描述:插座和适配器 Processor MOD RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WJ1 功能描述:插座和适配器 Processor Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WK0 功能描述:插座和适配器 PIC18F RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x