MPLAB ? REAL ICE ? In-Circuit Emulator User’s Guide
5.5
TRACE
This section will discuss the types of available instrumented trace and how to use them.
For information on the trace window, see Section 5.7.10 “Trace Window” .
?
?
?
?
?
?
?
5.5.1
Capture Trace
Capture trace can be used with either standard or high-speed communications, with no
additional connections. This two-wire interface uses the instrumented trace macro
format (see Section 5.5.5 “Setting Up Trace in MPLAB IDE” ).
If capture trace is used, then real-time data capture triggers cannot be used because
of hardware constraints. However, breakpoints are still available. To use data capture
triggers, you must disable capture trace (see Section 5.5.7 “Disabling Trace” ).
5.5.2
I/O Port Trace
I/O Port trace can be used with either standard or high-speed communications. Trace
clock and data are provided from a device I/O port through the MPLAB REAL ICE in-cir-
cuit emulator logic probe connector. For hardware connections, see Section 2.5.6 “I/O
The port interface uses the instrumented trace macro format (see
5.5.3
Requirements for Trace
The following is required to use trace:
? MPLAB IDE v7.43 and above
? MPLAB C30 v2.04 and above
Note:
5.5.4
Instrumented trace is only available when using C code, not assembly.
Setting Up the Project for Trace
Refer to Chapter 4. “General Setup” for a discussion of how to set up MPLAB IDE
and an MPLAB IDE project to use the MPLAB REAL ICE in-circuit emulator.
To enable trace:
? Select Project>Build Options>Project , Trace tab. Click “Enable Instrumented
Trace” and then select the Transport for trace data, i.e., “Capture Trace” for stan-
dard communication transport or “I/O Port” for I/O port data transport. If using I/O
port transport, select the port you will be using from the pull-down list. Click OK .
DS51616A-page 28
? 2006 Microchip Technology Inc.
相关PDF资料
AC2626M6 PROBE TEMP 6" GENERAL PURP
AC300024 MOTOR STEPPER 2PHASE 8WIRE
AC300030 KIT ACOUSTIC ACCESSORY
ACM-16 CABLE MODULE FR3 16BIT 40-DIP
ACM-2X8 ACTIVE CABLE MODULE DUAL 8 BIT
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
ACS9550EVB EVALUATION BOARD FOR ACS9550
相关代理商/技术参数
AC244007 制造商:Microchip Technology Inc 功能描述:MPLAB REAL ICE JTAG ADAPTER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:ADAPTER MPLAB REAL ICE JTA 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG 制造商:Microchip Technology Inc 功能描述:ADAPTER, MPLAB, REAL, ICE, JTAG; Accessory Type:JTAG adaptor Board; For Use With:Microchip PIC32MX devices; SVHC:No SVHC (19-Dec-2012) ;RoHS Compliant: Yes
AC244008 功能描述:处理器配件 MPLAB REAL ICE Power Monitor RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244022 功能描述:插座和适配器 Procs Extnsn Pak for PIC24FJ128GA010-ICE RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244022 制造商:Microchip Technology Inc 功能描述:Processor Extension Pak for PI
AC244023 功能描述:插座和适配器 PROCESSOR EXTNSN PAK FOR PIC18F1xK50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244024 功能描述:插座和适配器 Processor Ext Pak for PIC18LF14K50 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244026 功能描述:插座和适配器 Processor Ext Pak (PIC16F727-ICE) 200K RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC244027 功能描述:插座和适配器 Processor Ext Pak (PIC16LF727-ICE)200K RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x