Download Print this page
Microchip Technology PICkit 3 User Manual

Microchip Technology PICkit 3 User Manual

Programmer/debugger
Hide thumbs Also See for PICkit 3:

Advertisement

Quick Links

Chipsmall Limited consists of a professional team with an average of over 10 year of expertise in the distribution
of electronic components. Based in Hongkong, we have already established firm and mutual-benefit business
relationships with customers from,Europe,America and south Asia,supplying obsolete and hard-to-find components
to meet their specific needs.
With the principle of "Quality Parts,Customers Priority,Honest Operation,and Considerate Service",our business
mainly focus on the distribution of electronic components. Line cards we deal with include
Microchip,ALPS,ROHM,Xilinx,Pulse,ON,Everlight and Freescale. Main products comprise
IC,Modules,Potentiometer,IC Socket,Relay,Connector.Our parts cover such applications as commercial,industrial,
and automotives areas.
We are looking forward to setting up business relationship with you and hope to provide you with the best service
and solution. Let us make a better world for our industry!
Contact us
Tel: +86-755-8981 8866 Fax: +86-755-8427 6832
Email & Skype: info@chipsmall.com Web: www.chipsmall.com
Address: A1208, Overseas Decoration Building, #122 Zhenhua RD., Futian, Shenzhen, China
  

Advertisement

loading
Need help?

Need help?

Do you have a question about the PICkit 3 and is the answer not in the manual?

Questions and answers

Summary of Contents for Microchip Technology PICkit 3

  • Page 1 Chipsmall Limited consists of a professional team with an average of over 10 year of expertise in the distribution of electronic components. Based in Hongkong, we have already established firm and mutual-benefit business relationships with customers from,Europe,America and south Asia,supplying obsolete and hard-to-find components to meet their specific needs.
  • Page 2 PICkit™ 3 Programmer/Debugger User’s Guide © 2009 Microchip Technology Inc. DS51795A...
  • Page 3 PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, 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.
  • Page 4: Table Of Contents

    Chapter 1. Overview 1.1 Introduction ..................... 9 1.2 PICkit 3 Programmer/Debugger Defined ............9 1.3 How the PICkit 3 Programmer/Debugger Helps You ........11 1.4 PICkit 3 Programmer/Debugger Components ..........12 1.5 Device and Feature Support ................ 13 Chapter 2. Theory of Operation 2.1 Introduction ....................
  • Page 5 10.1 Introduction ....................59 10.2 Highlights ....................59 10.3 Declaration of Conformity ................59 10.4 USB Port/Power ..................60 10.5 PICkit 3 Programmer/Debugger ..............60 10.6 Standard Communication Hardware ............61 10.7 Target Board Considerations ..............63 Appendix A. PICkit 3 Schematics Appendix B.
  • Page 6: Preface

    PICkit™ 3 programmer/debugger. 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 © 2009 Microchip Technology Inc. DS51795A-page 1...
  • Page 7 The manual layout is as follows: • Chapter 1. Overview – An overview of the PICkit 3 programmer/debugger. • Chapter 2. Theory of Operation – A simplified description of how the PICkit 3 programmer/debugger works.
  • Page 8 Curly brackets and pipe Choice of mutually exclusive character: { | } arguments; an OR selection var_name [, Ellipses... Replaces repeated text var_name...] Represents code supplied by void main (void) user { ... © 2009 Microchip Technology Inc. DS51795A-page 3...
  • Page 9 (MPLINK linker), and librarian (MPLIB librarian). README for PICkit™ 3 Debug Express For the latest information on using the PICkit 3 Debug Express, read the “Readme for PICkit 3.htm” file (an HTML file) in the Readmes subdirectory of the MPLAB IDE installation directory.
  • Page 10 MPLAB SIM simulator, as well as general editing and debugging features. • Programmers – The latest information on Microchip programmers. These include ® the MPLAB PM3 device programmer and the PICSTART Plus, PICkit 2 and PICkit 3 development programmers. © 2009 Microchip Technology Inc. DS51795A-page 5...
  • Page 11 See our web site for a complete, up-to-date listing of sales offices. Technical support is available through the web site at: http://support.microchip.com. © 2009 Microchip Technology Inc. DS51795A-page 6...
  • Page 12 Part 1 – Getting Started Chapter 1. Overview....................... 9 Chapter 2. Theory of Operation .................. 15 Chapter 3. Installation....................23 Chapter 4. General Setup .................... 27 Chapter 5. PICkit 3 Debug Express ................31 © 2009 Microchip Technology Inc. DS51795A-page 7...
  • Page 13 PICkit™ 3 User’s Guide NOTES: © 2009 Microchip Technology Inc. DS51795A-page 8...
  • Page 14: Chapter 1. Overview

    Signal Controllers (DSCs) that are based on In-Circuit Serial Programming™ (ICSP™) and Enhanced In-Circuit Serial Programming 2-wire serial interfaces. In addition to debugger functions, the PICkit 3 programmer/debugger system also may be used as a development programmer. The debugger system executes code like an actual device because it uses a device with built-in emulation circuitry, instead of a special debugger chip, for emulation.
  • Page 15 Lanyard Connection A convenient lanyard connection is available on the programmer. 1.2.2 USB Port Connection The USB port connection is a USB mini-B connector. Connect the PICkit 3 to the PC using the supplied USB cable. 1.2.3 Pin 1 Marker This marker designates the location of pin 1 for proper connector alignment.
  • Page 16: How The Pickit 3 Programmer/Debugger Helps You

    The Status LEDs indicate the status of the PICkit 3. 1. Power (green) – Power is supplied to the PICkit 3 via the USB port. 2. Active (blue) – The PICkit 3 has connection to the PC USB port and the communication link is active.
  • Page 17: Pickit 3 Programmer/Debugger Components

    PICKIT 3 PROGRAMMER/DEBUGGER COMPONENTS The components of the PICkit 3 programmer/debugger system are: 1. PICkit 3 with indicator lights for power, activity and status. 2. USB cable to provide communications between the debugger and a PC and to provide power to the debugger.
  • Page 18: Device And Feature Support

    F = No support now, but planned in the future N = Support not available Note 1: Current Switch Mode Power Supply (SMPS) devices: dsPIC30F1010/2020/2023. This feature operates differently depending on the selected device. © 2009 Microchip Technology Inc. DS51795A-page 13...
  • Page 19 Processor Pak Legend: C = Current support F = No support now, but planned in the future N = Support not available Note 1: This feature operates differently depending on the selected device. © 2009 Microchip Technology Inc. DS51795A-page 14...
  • Page 20: Chapter 2. Theory Of Operation

    • Resources Used by the Debugger PICkit 3 VS. PICkit 2 The PICkit 3 programmer/debugger system is similar in function to the PICkit 2 in-circuit debugger system. Similarities of the two debuggers include: • Powered via USB cable to PC •...
  • Page 21 Target Device or PIM Mini-USB cable to PC Target Board Power FIGURE 2-2: STANDARD DEBUGGER SYSTEM – ICE DEVICE AC164110 Adapter Mini-USB cable to PC PICkit™ 3 Device-ICE Power Header Transition Socket Target Board © 2009 Microchip Technology Inc. DS51795A-page 16...
  • Page 22 2.4.1 Communication Target Connections 2.4.1.1 USING SINGLE IN-LINE CONNECTOR Use the 6-pin in-line connector between the PICkit 3 programmer/debugger and the target board connector. See Figure 2-1. Also see Table 2-1 and Section 10.6 “Standard Communication Hardware”. TABLE 2-1: TARGET CONNECTOR PINOUT...
  • Page 23 ) and 3 (V ) are shown on Figure 2-4 for completeness. PICkit 3 has two configurations for powering the target device: internal debugger and external target power. The recommended source of power is external and derived from the target application.
  • Page 24 The first requires that an application be programmed into the target device (usually with the PICkit 3 itself). The second uses the internal in-circuit debug hardware of the target Flash device to run and test the application program. These two steps are directly related to the MPLAB IDE operations: 1.
  • Page 25 4.7 kΩ 4.7 kΩ 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...
  • Page 26 Sequence of Operations Leading to Debugging Given that the requirements for debugging (see previous section) are met, these actions can be performed when the PICkit 3 programmer/debugger is set as the current debugger from the MPLAB IDE menu (Debugger>Select Tool>PICkit 3): •...

This manual is also suitable for:

Pg164130