PICkit? 3 User’s Guide
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. 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 PICkit 3
programmer/debugger.
To set build options, select Project>Build Options>Project .
Note:
On the Project Manager toolbar ( View>Toolbars>Project Manager ), select
“Debug” from the drop-down list when using the PICkit 3 as a debugger, or
select “Release” when using it as a programmer.
When done, choose Project>Build All to build the project.
4.6
4.7
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.
Some Configuration bits of interest are:
? Watchdog Timer Enable – On most devices, the Watchdog Timer is enabled
initially. It is usually a good idea to disable this bit.
? Comm Channel Select – For some devices, you will need to select the communi-
cations channel for the device, e.g., PGC1/EMUC1 and PGD1/EMUD1. Make
sure the pins selected here are the same ones physically connected to the device.
? Oscillator – Select the configuration setting that matches the target oscillator.
SETTING THE DEBUGGER OR PROGRAMMER
Select Debugger>Select Tool>PICkit 3 to choose the PICkit 3 programmer/debugger
as the debug tool. The Debugger menu and MPLAB IDE toolbar will change to display
debug options once the tool is selected. Also, the Output window will open and
messages concerning PICkit 3 status and communications will be displayed on the
PICkit 3 tab. For more information, see Section 9.2 “Debugging Functions” and
Section 9.3 “Debugging Dialogs/Windows” .
Select Programmer>Select Programmer>PICkit 3 to choose the PICkit 3
programmer/debugger as the programmer tool. The Programmer menu and MPLAB
IDE toolbar will change to display programmer options once the tool is selected. Also,
the Output window will open and messages concerning ICE status and
communications will be displayed on the PICkit 3 tab. For more information, see
Section 9.4 “Programming Functions” .
Select Debugger>Settings or Programmer>Settings to open the Settings dialog
( Section 9.5 “Settings Dialog” ) and set up options as needed.
If errors occurs, see:
? Chapter 8. “Error Messages”
? Chapter 7. “Frequently Asked Questions (FAQs)”
DS51795A-page 28
? 2009 Microchip Technology Inc.
相关PDF资料
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
DVA1001 ADAPTER FOR PIC16F716 18DIP
DVA1004 DEVICE ADAPTER 8/14/20DIP
E3R-D12GP-P RELAY RCVR PLUG-IN DIMMER
E3R-R12-3HOTP RCVR 3WIRE RELAY 120V
E3R-R12GP RCVR PLUG-IN RELAY
E3T-MICFP-40 CONVERTER 4-CH SLT SENSOR
相关代理商/技术参数
DV164131 制造商:Microchip Technology Inc 功能描述:PICKIT 3 DEBUG EXPRESS
DV164131-XLP 制造商:Microchip Technology Inc 功能描述:KIT DEV PICKIT 3-XLP/NANOWAT
DV164132 功能描述:开发板和工具包 - PIC / DSPIC F1 Evaluation Kit RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164132 制造商:Microchip Technology Inc 功能描述:PIC12F1xxx/PIC16F1xxx F1 Evaluation Kit
DV164133 功能描述:电源管理IC开发工具 Energy Harvesting Development Tool RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
DV164136 功能描述:开发板和工具包 - PIC / DSPIC PIC18F DEV Kit (with PICkit 3) RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164139 功能描述:开发板和工具包 - PIC / DSPIC Lo PIn Count USB Dev Kit (w/PICkit 3) RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV17K3225T 制造商:SEI Stackpole Electronics Inc 功能描述:- Tape and Reel 制造商:SEI Stackpole Electronics Inc 功能描述:Var MOV 17VAC/22VDC 100A 27V 3225 SMD T/R