PICkit? 3 USER ’S GUIDE
Chapter 6. Troubleshooting First Steps
6.1
6.2
6.3
INTRODUCTION
If you are having problems with PICkit 3 programmer/debugger operation, start here.
? The 5 Questions to Answer First
? Top 10 Reasons Why You Can’t Debug
? Other Things to Consider
THE 5 QUESTIONS TO ANSWER FIRST
1. What device are you working with? Often an upgrade to a newer version of
MPLAB IDE is required to support newer devices. That is, yellow light = untested
support.
2. Are you using a Microchip demo board or one of your own design? Have you fol-
lowed the guidelines for resistors/capacitors for communications connections?
See Chapter 2. “Theory of Operation” .
3. Have you powered the target? The debugger cannot power the target if greater
than 30 mA.
4. Are you using a USB hub in your set up? Is it powered? If you continue to have
problems, try using the debugger without the hub (plugged directly into the PC.)
5. Are you using the standard communication cable (RJ-11) shipped with debug-
ger? If you have made a longer cable, it can cause communications errors.
TOP 10 REASONS WHY YOU CAN’T DEBUG
1. The oscillator is not working. Check your Configuration bits setting for the
oscillator.
2. The target board is not powered. Check the power cable connection.
3. The debugger has become physically disconnected from the PC and/or the tar-
get board. Check the communications cables’ connections.
4. The device is code-protected. Check your Configuration bit’s setting for code
protection.
5. You are trying to rebuild the project while in Release mode. Select Debug in the
Build Configuration drop-down list on the project toolbar, then rebuild the project.
6. The debugger is selected as a programmer, and not as a debugger, in MPLAB
IDE.
7. The debugger to PC communications has been interrupted. Reconnect to the
debugger in MPLAB IDE.
8. The target application has become corrupted or contains errors.Try rebuilding
and reprogramming the target application. Then initiate a Power-on Reset of the
target.
9. Other configuration settings are interfering with debugging. Any configuration
setting that would prevent the target from executing code will also prevent the
debugger from putting the code into debug mode.
10. The debugger cannot always perform the action requested. For example, the
debugger cannot set a breakpoint if the target application is currently running.
? 2009 Microchip Technology Inc.
DS51795A-page 35
相关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