MPLAB ? REAL ICE ? IN-CIRCUIT
EMULATOR USER ’S GUIDE
Chapter 8. Debug for 32-Bit Devices
8.1
8.2
8.3
INTRODUCTION
The following debug functions are specific to 32-bit devices:
DATA CAPTURE AND RUNTIME WATCHES
At this time, MPLAB REAL ICE in-circuit emulator does not support data capture for
32-bit devices. Runtime watches, however, are supported.
A runtime watch provides updating of a variable in the following windows during
program execution instead of on halt:
? Watch – View menu
? File Register – View menu
? Special Function Register (SFR) – View menu
To set up runtime watches:
1. Select View>Watch to open the Watch window to set up runtime watches for
specific data addresses. See Section 11.3.9 “Watch Window - Data Cap-
ture/Runtime Watch” for more information.
2. Select Debugger>Settings and click the Clock tab. The emulator needs to know
the instruction cycle speed. (See Section 11.5.6 “Settings Dialog, Clock Tab”
for more information.) Enter your information here.
3. Rebuild the project ( Project>Build All ) and reprogram the target device
( Debugger>Program ).
4. Run the program. Watch variable values change in an MPLAB IDE window.
PIC32 INSTRUCTION TRACE
This section will discuss trace for 32-bit devices and how to use it.
8.3.1
Requirements for Trace
The following is required to use trace for 32-bit (PIC32MX) devices:
? MPLAB IDE v8.00 and above
? MPLAB ASM32/LINK32/C32 v1.00 and above
? PIC32MX Plug-In Module (PIM) containing a device that supports trace and a
trace port
? PIC32MX Trace Interface Kit (AC244006) containing a 12-inch trace cable and a
trace adapter board
? 2008 Microchip Technology Inc.
DS51616B-page 75
相关PDF资料
AC244006 KIT MPLAB REAL ICE TRACE
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
相关代理商/技术参数
AC244005-2 功能描述:处理器配件 MPLAB REAL ICE w/ Performace Pak RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
AC244006 功能描述:仿真器/模拟器 MPLAB REAL ICE TRACE INTERFACE Brd KIT RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
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