PICKIT ? 1 FLASH STARTER KIT
USER ’S GUIDE
Chapter 5. Troubleshooting
5.1
5.2
INTRODUCTION
This chapter describes common problems and possible solutions for solving problems
with the PICkit 1 Flash Starter Kit.
FAQS
5.2.1
Program Does Not Work
Question:
My program does not work. What should I check?
Answer:
1. Are the configuration bits set in the source file? PICkit 1 Flash Starter Kit depends
on having the configuration bits set in the hex file. The assembler uses the
_CONFIG directive. When using the PICkit 1 Flash Starter Kit’s on-board
evaluation socket, configure the internal oscillator. The internal oscillator also
frees up two more pins for general I/O use.
The assembler directive to select the internal oscillator, with all other functions
off, might look like this:
_CONFIG (_INTRC_OSC_NOCLKOUT & _WDT_OFF &_BODEN_OFF&_CP_OFF
&_CPD_OFF)
The following code shows how to set the configuration bits in Hi-Tech C:
_CONFIG(UNPROTECT & BOREN & MCLRDIS & PWRTEN & WDTDIS & INTIO);
2. Are the pins multiplexed with other functions? If so, does the program initialize
the control registers to select the function desired? A common problem occurs
on PORTA where the analog inputs to the ADC are multiplexed with digital
functions. The pins default to analog input. For digital output, write to the ANSEL
register and make the pins digital I/O.
5.2.2
Device Will Not Program
Question:
The device will not program. All writes end with a “checksum verified failed” error
message.
Answer:
1. Are the code protect bits set in the source code file? Currently, the device can
only be code protected by selecting the Tools > Code Protect Device option in
the PICkit 1 user ’s interface.
2. The part may be damaged. Try another device.
? 2004 Microchip Technology Inc.
DS40051D-page 23
相关PDF资料
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
DVA1004 DEVICE ADAPTER 8/14/20DIP
相关代理商/技术参数
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
DV164126 功能描述:开发板和工具包 - PIC / DSPIC USB Kit w/ PICkit LowPinCount RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: