MPLAB ICD 3 User's Guide

MPLAB ICD 3 User's Guide

MPLAB® ICD 3 In-Circuit Debugger User’s Guide For MPLAB X IDE 2012-2014 Microchip Technology Inc. DS50002081B 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 Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, dsPIC, and may be superseded by updates. It is your responsibility to FlashFlex, flexPWR, JukeBlox, KEELOQ, KEELOQ logo, Kleer, ensure that your application meets with your specifications. LANCheck, MediaLB, MOST, MOST logo, MPLAB, MICROCHIP MAKES NO REPRESENTATIONS OR OptoLyzer, PIC, PICSTART, PIC32 logo, RightTouch, SpyNIC, WARRANTIES OF ANY KIND WHETHER EXPRESS OR SST, SST Logo, SuperFlash and UNI/O are registered IMPLIED, WRITTEN OR ORAL, STATUTORY OR trademarks of Microchip Technology Incorporated in the OTHERWISE, RELATED TO THE INFORMATION, U.S.A. and other countries. INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR The Embedded Control Solutions Company and mTouch are FITNESS FOR PURPOSE. Microchip disclaims all liability registered trademarks of Microchip Technology Incorporated arising from this information and its use. Use of Microchip in the U.S.A. devices in life support and/or safety applications is entirely at Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo, the buyer’s risk, and the buyer agrees to defend, indemnify and CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit hold harmless Microchip from any and all damages, claims, Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet, suits, or expenses resulting from such use. No licenses are KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo, conveyed, implicitly or otherwise, under any Microchip MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code intellectual property rights. Generation, PICDEM, PICDEM.net, PICkit, PICtail, RightTouch logo, REAL ICE, SQI, Serial Quad I/O, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, 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. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. © 2012-2014, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: 978-1-63276-604-5 QUALITY MANAGEMENT SYSTEM Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and CERTIFIED BY DNV 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, KEELOQ® code hopping == ISO/TS 16949 == 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. DS50002081B-page 2 2012-2014 Microchip Technology Inc. Object of Declaration: MPLAB® ICD 3 In-Circuit Debugger 2012-2014 Microchip Technology Inc. DS50002081B-page 3 MPLAB® ICD 3 USER’S GUIDE FOR MPLAB X IDE Table of Contents Preface ........................................................................................................................... 6 Part 1 –Getting Started Chapter 1. About the Debugger 1.1 Introduction ................................................................................................... 11 1.2 MPLAB ICD 3 In-Circuit Debugger Defined ................................................. 11 1.3 How the MPLAB ICD 3 In-Circuit Debugger Helps You ............................... 12 1.4 MPLAB ICD 3 In-Circuit Debugger Components ......................................... 12 Chapter 2. Operation 2.1 Introduction ................................................................................................... 13 2.2 Tools Comparison ........................................................................................ 14 2.3 Debugger to Target Communication ............................................................ 15 2.4 Target Communication Connections ............................................................ 17 2.5 Debugging .................................................................................................... 20 2.6 Requirements for Debugging ....................................................................... 21 2.7 Programming ................................................................................................ 23 2.8 Resources Used by the Debugger ............................................................... 23 Part 2 –Features Chapter 3. Debugger Usage 3.1 Introduction ................................................................................................... 25 3.2 Installation and Setup ................................................................................... 25 3.3 Common Debug Features ............................................................................ 26 3.4 Quick Debug/Program Reference ................................................................ 26 3.5 Debugger Limitations ................................................................................... 26 3.6 Connecting the Target .................................................................................. 26 3.7 Setting Up the Target Board ......................................................................... 27 3.8 Starting and Stopping Debugging ................................................................ 28 3.9 Viewing Processor Memory and Files .......................................................... 28 3.10 Breakpoints and Stopwatch ........................................................................ 29 Part 3 –Troubleshooting Chapter 4. Troubleshooting First Steps 4.1 Introduction ................................................................................................... 32 4.2 The Five Questions to Answer First ............................................................. 32 4.3 Top Reasons Why You Can’t Debug ........................................................... 32 4.4 Other Things to Consider ............................................................................. 33 Chapter 5. Frequently Asked Questions (FAQs) 5.1 Introduction ................................................................................................... 34 DS50002081B-page 4 2012-2014 Microchip Technology Inc. Table of Contents 5.2 How Does It Work? ...................................................................................... 34 5.3 What’s Wrong? ............................................................................................. 36 Chapter 6. Error Messages 6.1 Introduction ................................................................................................... 37 6.2 Specific Error Messages .............................................................................. 37 6.3 General Corrective Actions .......................................................................... 39 6.4 Information Messages .................................................................................. 40 Chapter 7. Engineering Technical Notes (ETNs) Part 4 –Reference Appendix A. Debugger Function Summary A.1 Introduction .................................................................................................. 43 A.2 Debugger Selection and Switching .............................................................. 43 A.3 Debugger Options Selection ........................................................................ 43 Appendix B. Hardware Specification B.1 Introduction .................................................................................................. 47 B.2 Highlights ..................................................................................................... 47 B.3 USB Port/Power ..........................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    78 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us