MPLAB ? REAL ICE ? In-Circuit Emulator User’s Guide
4.3
CREATING A PROJECT
The easiest way to create a new project is to select Project>Project Wizard . With the
help of the Project Wizard, a new project and the language tools for building that project
can be created. The wizard will guide you through the process of adding source files,
libraries, linker scripts, etc. to the various “nodes” on the project window. See MPLAB
IDE documentation for more detail on using this wizard. The basic steps are provided
here:
?
?
?
?
Select your device (e.g., PIC24FJ128GA010)
Select a language toolsuite (e.g., Microchip C30 Toolsuite)
Name the project
Add files (e.g., program.c, support.s, p24FJ128GA010.gld)
Don’t forget to add a linker script file to your project. Linker scripts may be found,
by default, in the following directories:
MPLAB ASM30
- C:\Program Files\Microchip\MPLAB ASM30 Suite\Support\gld
MPLAB C30
- C:\Program Files\Microchip\MPLAB C30\support\gld
- C:\pic30_tools\support\gld
4.4
4.5
VIEWING THE PROJECT
After the Project Wizard has created a project, the project and its associated files are
visible in the Project window. Additional files can be added to the project using the
Project window. Right click on any line in the project window tree to pop up a menu with
additional options for adding and removing files.
See MPLAB IDE documentation for more detail on using the Project window.
BUILDING THE PROJECT
After the project is created, the application needs to be built. This will create object
(hex) code for the application that can be programmed into the target by the MPLAB
REAL ICE in-circuit emulator.
To set build options, select Project>Build Options>Project .
Note:
On the Project Manager toolbar, select “Debug” from the drop-down list.
When done, choose Project>Build All to build the project.
4.6
SETTING CONFIGURATION BITS
Although device Configuration bits may be set in code, they also may be set in the
MPLAB IDE Configuration window. Select Configure>Configuration Bits . By clicking on
the text in the “Settings” column, these can be changed.
On most devices, the Watchdog Timer is enabled initially. It is usually a good idea to
disable this bit.
DS51616A-page 24
? 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