MPLAB ? REAL ICE ? In-Circuit Emulator User’s Guide
FIGURE 4-1:
MPLAB ? IDE DESKTOP
4.2.1
Selecting the Device
To select the device for this tutorial:
1. Select Configure>Select Device .
2. In the Device Selection dialog, choose “PIC24FJ128GA010” from the Device list
box. The light icon next to “MPLAB REAL ICE” in the “Microchip Tool
Programmer/Debugger Tool Support” sections should be green.
3. Click OK .
4.2.2
Selecting the Emulator as a Debugger
To select MPLAB REAL ICE in-circuit emulator as a debugger, select Debugger>Select
Tool>REAL ICE . Then:
1. The Output window will open to display connection information. Depending on
the version of MPLAB IDE or the device selected, a message box may appear
indicating that the firmware needs to be updated. MPLAB IDE will automatically
install the new firmware. Also, since different MPLAB REAL ICE firmware is used
for different families of devices, this message box may appear when switching to
a different device.
2. The Debugger menu will show available emulator debug options.
3. A Debug toolbar will appear. Mouseover a button to see a pop-up of its function.
4.3
CREATING THE APPLICATION CODE
For this tutorial, two C programs will be used. The code for each is shown below.
1. Using Windows ? Explorer, create a project folder.
2. Open an editor window by selecting File>New . Enter the code for the first
program ( counter.c ) in this window and save to the project folder.
3. Open another editor window by selecting File>New . Enter the code for the
second program ( timer.c ) in this window and save to the project folder.
DS51616B-page 32
? 2008 Microchip Technology Inc.
相关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