Pickit.pdf
(
2126 KB
)
Pobierz
PICkit© 2
Programmer/Debugger
UserÓs Guide
©
2008 Microchip Technology Inc.
DS51553E
Note the following details of the code protection feature on Microchip devices:
¤
Microchip products meet the specification contained in their particular Microchip Data Sheet.
¤
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
¤
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in MicrochipÓs Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
¤
Microchip is willing to work with the customer who is concerned about the integrity of their code.
¤
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as Ðunbreakable.Ñ
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break MicrochipÓs code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE
.
Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyerÓs risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EE
L
OQ
, K
EE
L
OQ
logo, MPLAB, PIC, PICmicro,
PICSTART, PRO MATE, rfPIC and SmartShunt are registered
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
FilterLab, Linear Active Thermistor, MXDEV, MXLAB,
SEEVAL, SmartSensor and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, In-Circuit Serial
Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB
Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM,
PICDEM.net, PICtail, PIC
32
logo, PowerCal, PowerInfo,
PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total
Endurance, UNI/O, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
¨ 2008, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The CompanyÓs quality system processes and procedures
are for its PIC
§
MCUs and dsPIC
§
DSCs, K
EE
L
OQ
§
code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, MicrochipÓs quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
DS51553E-page ii
©
2008 Microchip Technology Inc.
PICkit© 2 USERÓS GUIDE
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. PICkit 2 Programmer/Debugger Overview
1.1 Introduction ..................................................................................................... 7
1.2 PICkit 2 Development Programmer/Debugger Contents ............................... 7
1.3 PICkit 2 Development Programmer/Debugger ............................................... 7
1.4 PICkit 2 Programmer Application ................................................................. 10
Chapter 2. PICkit 2 Programmer Getting Started
2.1 Introduction ................................................................................................... 15
2.2 Installing the PICkit 2 Hardware ................................................................... 15
2.3 Installing and Launching the PICkit 2 Programmer Application ................... 16
2.4 Connecting to the Device ............................................................................. 16
2.5 Selecting Target Power ................................................................................ 18
2.6 Importing a Hex File ..................................................................................... 19
2.7 Writing the Program to the Device ............................................................... 20
2.8 Verifying the Device ..................................................................................... 23
2.9 Reading Device Memory .............................................................................. 23
2.10 Code Protecting the Device ........................................................................ 23
2.11 Erasing and Blank Checking the Device .................................................... 24
2.12 Automating Write/Read Procedures ........................................................... 24
2.13 PICkit 2 Calibration and Unit ID .................................................................. 25
Chapter 3. Using In-Circuit Serial Programming© (ICSP©)
3.1 Introduction ................................................................................................... 27
3.2 Isolate V
PP
/MCLR/Port Pin ........................................................................... 28
3.3 Isolate ICSPCLK or PGC and ICSPDAT or PGD pins ................................. 28
3.4 V
DD
............................................................................................................... 29
3.5 V
SS
............................................................................................................... 30
3.6 Cable Lengths .............................................................................................. 30
3.7 Serial EEPROM and KeeLoq HCS Devices ................................................. 30
Chapter 4. PICkit 2 Debug Express
4.1 Introduction ................................................................................................... 31
4.2 PICkit 2 Debug Express Kit Contents ........................................................... 31
4.3 Installing the Hardware and Software .......................................................... 32
4.4 Using PICkit 2 Debug Express ..................................................................... 32
4.5 Debug Express Tutorial ................................................................................ 36
©
2008 Microchip Technology Inc.
DS51553E-page iii
PICkit© 2 UserÓs Guide
Chapter 5. Troubleshooting
5.1 Introduction ................................................................................................... 49
5.2 Frequently Asked Questions ........................................................................ 49
5.3 PICkit 2 Debug Express MPLAB IDE Errors ................................................ 54
Chapter 6. Updating the PICkit 2 Operating System
6.1 Introduction ................................................................................................... 61
6.2 Updating the PICkit 2 OS - PICkit 2 Programmer Application ...................... 61
6.3 Updating the PICkit 2 OS Î MPLAB IDE ...................................................... 62
Chapter 7. PICkit 2 UART Tool
7.1 Introduction ................................................................................................... 65
7.2 Connecting the PICkit 2 UART Tool ............................................................. 65
7.3 The PICkit 2 UART Tool Window ................................................................. 66
Appendix A. MPLAB IDE Reference
A.1 Introduction .................................................................................................. 71
A.2 Debugging Functions ................................................................................... 71
A.3 Programming Functions ............................................................................... 73
A.4 Settings Dialog ............................................................................................. 75
Appendix B. PICkit 2 Schematics
Index .............................................................................................................................79
Worldwide Sales and Service .....................................................................................82
DS51553E-page iv
©
2008 Microchip Technology Inc.
PICkit© 2
USERÓS GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a ÐDSÑ number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
ÐDSXXXXXAÑ, where ÐXXXXXÑ is the document number and ÐAÑ is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
§
IDE on-line help.
Select the Help menu, and then Topics to open a list of available on-line help files.
INTRODUCTION
This chapter contains general information that will be useful to know before using
PICkit© 2 . Items discussed include:
¤
Document Layout
¤
Conventions Used in this Guide
¤
Warranty Registration
¤
Recommended Reading
¤
The Microchip Web Site
¤
Development Systems Customer Change Notification Service
¤
Customer Support
©
2008 Microchip Technology Inc.
DS51553E-page 1
Plik z chomika:
ciasny_zdzislaw
Inne pliki z tego folderu:
PICkit3_scripting_v03.00beta.zip
(9532 KB)
Pickit.pdf
(2126 KB)
Inne foldery tego chomika:
Porgramator PIC USB
programator PIC RS232 V2
programowanie PIC16CXX
Zgłoś jeśli
naruszono regulamin