
MPLAB® REAL ICE™ In-Circuit Emulator User’s Guide For MPLAB X IDE 2013-2015 Microchip Technology Inc. DS50002085D 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 unless otherwise stated. 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 trademark 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. © 2013-2015, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: 978-1-63277-508-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. DS50002085D-page 2 2013-2015 Microchip Technology Inc. Object of Declaration: MPLAB REAL ICE In-Circuit Emulator 2013-2015 Microchip Technology Inc. DS50002085D-page 3 Emulator User’s Guide for MPLAB X IDE NOTES: DS50002085D-page 4 2013-2015 Microchip Technology Inc. MPLAB® REAL ICE™ IN-CIRCUIT EMULATOR USER’S GUIDE FOR MPLAB X IDE Table of Contents Preface ........................................................................................................................... 9 Part 1 – Overview & Operation Chapter 1. About the Emulator 1.1 Introduction ................................................................................................... 15 1.2 Emulator Features ........................................................................................ 15 1.3 How the Emulator Helps You ....................................................................... 15 1.4 Emulator System .......................................................................................... 16 1.5 Emulator Kit Components ............................................................................ 16 Chapter 2. Device and Feature Support Chapter 3. Operation 3.1 Introduction ................................................................................................... 19 3.2 Tools Comparison ........................................................................................ 20 3.3 Operational Overview ................................................................................... 21 3.4 Emulator Communications with the PC and Target ..................................... 22 3.5 Target Communication Connections ............................................................ 26 3.6 Trace Connections ....................................................................................... 29 3.7 Debugging with the Emulator ....................................................................... 32 3.8 Requirements For Debugging ...................................................................... 33 3.9 Programming with the Emulator ................................................................... 35 3.10 Resources Used by the Emulator ............................................................... 35 Part 2 – Features Chapter 4. Working with the Emulator 4.1 Introduction ................................................................................................... 39 4.2 Installation and Setup ................................................................................... 39 4.3 Firmware Upgrades ...................................................................................... 40 4.4 Emulator Functions ...................................................................................... 41 4.5 Quick Debug/Program Reference ................................................................ 41 4.6 Debugger/Programmer Limitations .............................................................. 41 Chapter 5. Basic Debug Functions 5.1 Introduction ................................................................................................... 43 5.2 Starting and Stopping Emulation .................................................................. 43 5.3 Viewing Processor Memory and Files .......................................................... 44 5.4 Breakpoints and Stopwatch .......................................................................... 44 2013-2015 Microchip Technology Inc. DS50002085D-page 5 Emulator User’s Guide for MPLAB X IDE 5.5 Device Debug Functions .............................................................................. 45 Chapter 6. Specific Debug Functions 6.1 Introduction ................................................................................................... 47 6.2 Data Capture and Runtime Watches ............................................................ 47 6.3 Instrumented Trace ...................................................................................... 50 6.4 PIC32 Instruction Trace – PIC32 MCUs Only .............................................. 57 6.5 Jump Trace – EP Devices Only ................................................................... 62 6.6 PC Sampling – 8- and 16-Bit MCUs Only .................................................... 63 6.7 PC Profiling – 32-Bit MCUs Only .................................................................. 66 6.8 Function Level Profiling ................................................................................ 68 6.9 Application In/Out ......................................................................................... 70 6.10 External Triggers ........................................................................................ 73 6.11 Additional Debug Features ......................................................................... 74 Part 3 – Troubleshooting Chapter 7. Troubleshooting First Steps 7.1 Introduction ..................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages189 Page
-
File Size-