Programming and Debugging the Board
FIGURE 3-5:
BUILD OUTPUT
3.5
PROGRAMMING THE PIC24FJ256DA210
Programming the PIC24FJ256DA210 is possible through any one of the following
development hardware:
?
?
?
?
MPLAB REAL ICE in-circuit emulator
MPLAB ICD 2 or MPLAB ICD 3
PICkit 3
The MPLAB PM3 Universal Device Programmer
For this example, MPLAB REAL ICE in-circuit emulator is assumed to be used.
3.5.1
Set Up the Device Configuration
The device configuration for the PIC24F devices can be set by two methods:
? Using configuration macros in the source code
? Using the Configuration Bits window in MPLAB IDE
To display the Configuration Bits window, select Configure > Configuration Bits from the
menu bar (Figure 3-6).
All demos that come with the Microchip Application Libraries include the configuration
macros in the code. It is recommended to use these configuration settings in the code.
To do this:
1. Open the Configuration Bits window.
2. Select the check box Configuration Bits set in code , located at the top of the
window, to enable the use of the configuration in code.
For building applications that do not include configuration macros, it is possible to set
the device configuration by using the Configuration Bits window. To do this:
1. Open the Configuration Bits window.
2. Set the Configuration bits by clicking on each line item and selecting an option
from the drop-down menu that appears. The Configuration bits for the PIC24F
device on the PIC24FJ256DA210 Development Board should be set as shown
? 2010 Microchip Technology Inc.
DS51911A-page 23
相关PDF资料
DV164101 KIT DEV PICKIT1 FLASH 8/14PIN
DV164120 KIT STARTER PICKIT 2
DV164121 KIT PICKIT 2 DEBUG EXPRESS
DV164122 ANALYZER SRL PICKIT W/DEMO BOARD
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
DVA1001 ADAPTER FOR PIC16F716 18DIP
相关代理商/技术参数
DV164101 功能描述:开发板和工具包 - PIC / DSPIC PICkit 1 8/14P Flash RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164101 制造商:Microchip Technology Inc 功能描述:TOOLS: FLASH MICROCONTROLLER (
DV164102 功能描述:开发板和工具包 - 无线 rfPICkit RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:AT32UC3L 核心:AVR32 频率: 接口类型:USB 工作电源电压:5 V
DV164120 功能描述:电路内置调试器 PICkit 2 8/14/20P Flash RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164121 功能描述:电路内置调试器 PICkit 2 Debug Express RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164121 制造商:Microchip Technology Inc 功能描述:ICPICKIT2 PROGRAMMER/DEBUGGER ((NW))
DV164121+TEFLCST3 制造商:Microchip Technology Inc 功能描述:KIT PICKIT2+FLOWCODE-HOME BUNDLE 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, FLOW CODE, PIC, DSPIC 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, DEBUG EXP, FLOW CODE, PIC, DSPIC; Silicon Family Name:PIC12F6xx, PIC16F5xx; Core Architecture:PIC; Core Sub-Architecture:PIC12, PIC18, PIC24; IC Product Type:Debugger / Programmer; Series:PICkit 2 ;RoHS Compliant: Yes
DV164122 功能描述:界面开发工具 PICkit Ser Analyzer RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V