PICkit? 3 User’s Guide
FIGURE 2-6:
PROPER CONNECTIONS FOR PROGRAMMING
Programming
Voltage
V DD
+5V
Internal Circuits
4.7 k Ω
1
5
4
V PP /MCLR
PGC
PGD
4.7 k Ω
V SS
A simplified diagram of some of the internal interface circuitry of the PICkit 3
programmer/debugger is shown. For programming, no clock is needed on the target
device, but power must be supplied. When programming, the debugger puts
programming levels on V PP /MCLR, sends clock pulses on PGC and serial data via
PGD. To verify that the part has been programmed correctly, clocks are sent to PGC
and data is read back from PGD. This conforms to the ICSP protocol of the device
under development.
2.6
REQUIREMENTS FOR DEBUGGING
To debug (set breakpoints, see registers, etc.) with the PICkit 3 programmer/debugger
system, there are critical elements that must be working correctly:
? The debugger must be connected to a PC. It must be powered by the PC via the
USB cable, and it must be communicating with the MPLAB IDE software via the
USB cable. See Chapter 3. “Installation” for details.
? The debugger must be connected as shown to the V PP , PGC and PGD pins of the
target device with the modular interface cable (or equivalent). V SS and V DD are
also required to be connected between the debugger and target device.
? The target device must have power and a functional, running oscillator. If the
target device does not run, for any reason, the PICkit 3 programmer/debugger
cannot debug.
? The target device must have its configuration words programmed correctly:
- The oscillator Configuration bits should correspond to RC, XT, etc., depending
upon the target design.
- For some devices, the Watchdog Timer is enabled by default and needs to be
disabled.
- The target device must not have code protection enabled.
- The target device must not have table read protection enabled.
? LVP should be disabled.
Once the above conditions are met, you may proceed to the following:
? Sequence of Operations Leading to Debugging
? Debugging Details
DS51795A-page 20
? 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