Microchip Technology PICkit 3 Starter Kit DV164130 DV164130 사용자 설명서

제품 코드
DV164130
다운로드
페이지 98
Installation
© 2009 Microchip Technology Inc.
DS51795A-page 25
FIGURE 3-2:
USING AN ICD HEADER BOARD
Many Mid-Range PIC microcontrollers and all PIC18 and 16-bit PIC microcontroller 
devices do not require an ICD header and can be debugged directly through the ICSP 
programming connections.
3.4.4
Powering the Target
These are configuration essentials:
• When using the USB connection, PICkit 3 can be powered from the PC but it can 
only provide a limited amount of current, up to 30 mA, at V
DD
 from 1.8-5V to a 
small target board.
• The desired method is for the target to provide V
DD
 since it can provide a higher 
current. The additional benefit is that plug-and-play target detection facility is 
inherited, i.e., MPLAB IDE will let you know in the Output window when it has 
detected the target and has detected the device.
If you have not already done so, connect the PICkit 3 to the target using the appropriate 
cables (see Section 3.3 “Connecting the Target”). Then power the target. If you are 
powering the target through the PICkit 3, seSection 9.5.8 “Settings Dialog, Power 
Tab”
 fo
r instructions. 
3.5
SETTING UP MPLAB IDE
Once the hardware is connected and powered, MPLAB IDE may be set up for use with 
the PICkit 3 programmer/debugger.
On some devices, you must select the communications channel in the Configuration 
bits, e.g., PGC1/EMUC1 and PGD1/EMUD1. Make sure the pins selected here are the 
same ones physically connected to the device.
For more on setting up a project and getting started with PICkit 3, see Chapter 
4. “General Setup”
Note:
The target voltage is only used for powering up the drivers for the ICSP 
interface; the target voltage does not power up the PICkit 3. The PICkit 3 
power is derived strictly from the USB port.