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 unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
FlashFlex, flexPWR, JukeBlox, K
EE
L
OQ
, K
EE
L
OQ
logo, Kleer,
LANCheck, MediaLB, MOST, MOST logo, MPLAB,
OptoLyzer, PIC, PICSTART, PIC
32
logo, RightTouch, SpyNIC,
SST, SST Logo, SuperFlash and UNI/O are registered
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
The Embedded Control Solutions Company and mTouch are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo,
CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit
Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet,
KleerNet logo, MiWi, motorBench, MPASM, MPF, MPLAB
Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach,
Omniscient Code 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.
© 2014-2015, Microchip Technology Incorporated, Printed in
the U.S.A., All Rights Reserved.
ISBN: 978-1-63277-835-2
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
==
ISO/TS 16949
==
DS50002243B-page 2
Microchip received ISO/TS-16949:2009 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.
2014-2015 Microchip Technology Inc.
EEP AND EMULATION HEADER
USER’S GUIDE
Table of Contents
Chapter 1. EEP and Emulation Header Overview
1.1 What is an Emulation Extension Pak? ........................................................... 5
1.2 What is an Emulation Header? ....................................................................... 5
1.3 Why Would I Want to Use an Emulation Header? ......................................... 6
1.4 Compare Emulation Header, Debug Header and Device Features ............... 6
1.5 Support Information ........................................................................................ 8
1.6 Emulation Header Hardware Setup ................................................................ 9
1.7 Emulation Header Setup for MPLAB X IDE ................................................. 11
1.8 Additional Information ................................................................................... 11
Chapter 2. Emulation Header Features
2.1 Introduction ................................................................................................... 13
2.2 Breakpoint, Runtime Watch, and Trace Resources ..................................... 14
2.3 Runtime Watches ......................................................................................... 14
2.4 Real Time Hardware Instruction Trace ......................................................... 15
2.5 Hardware Address/Data Breakpoints ........................................................... 19
2.6 Enhanced Event Breakpoints ....................................................................... 22
2.7 Event Combiners .......................................................................................... 23
2.8 Stopwatch Cycle Counter ............................................................................. 25
2.9 Trigger In/Out ............................................................................................... 25
2.10 View Hardware Stack On Halt .................................................................... 27
2.11 Previous Program Counter ......................................................................... 28
2.12 Background Debug ..................................................................................... 28
Chapter 3. Emulation Header List
3.1 Introduction ................................................................................................... 29
3.2 AC244055 .................................................................................................... 31
3.3 AC244063 .................................................................................................... 33
3.4 AC244064 .................................................................................................... 35
3.5 AC244065 .................................................................................................... 37
3.6 AC244066 .................................................................................................... 39
Appendix A. -ME2 Silicon Errata
A.1 Introduction .................................................................................................. 41
A.2 CCP3 Capture .............................................................................................. 41
A.3 Hardware Breakpoint Issue .......................................................................... 41
A.4 Trigger In/Halt during Multi-Cycle Instruction Processing ............................ 42
2014-2015 Microchip Technology Inc.
DS50002243A1-page 3
EEP and Emulation Header
User’s Guide
Chapter 1. EEP and Emulation Header Overview
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 X IDE online Help
(Help menu).
This chapter contains the following topics:
•
•
•
•
•
•
•
•
What is an Emulation Extension Pak?
What is an Emulation Header?
Why Would I Want to Use an Emulation Header?
Compare Emulation Header, Debug Header and Device Features (Future)
Support Information
Emulation Header Hardware Setup
Emulation Header Setup for MPLAB X IDE
Additional Information
1.1
WHAT IS AN EMULATION EXTENSION PAK?
An Emulation Extension Pak (EEP) contains an emulation header; gold, single, in-line
pins; a trace cable, and a trace adapter board. An EEP is what you purchase when you
want an emulation header.
1.2
WHAT IS AN EMULATION HEADER?
An emulation header is a circuit board that allows a debug tool to debug code for a spe-
cific device. A special version of the device (-ME2) with on-board emulation circuitry is
located on the header. Connectors on the side of the header allow it to connect directly
to, or through, an adapter to the emulator. Connectors on the bottom of the header
allow it to connect directly to, or through, a transition socket to a target board.
2014-2015 Microchip Technology Inc.
DS50002243B-page 5