Datasheet

MPLAB
®
REAL ICE
IN-CIRCUIT
EMULATOR USERS GUIDE FOR
MPLAB X IDE
2013 Microchip Technology Inc. DS52085A-page 45
Chapter 4. General Setup
4.1 INTRODUCTION
How to get started using the MPLAB REAL ICE in-circuit emulator is discussed.
Installation and Setup
Common Debug Features
Emulator-Specific Debug Features
Quick Debug/Program Reference
Debugger/Programmer Limitations
4.2 INSTALLATION AND SETUP
Refer to the Help file “Getting Started with MPLAB X IDE” for details on installing the
IDE and setting up the emulator to work with it.
In summary:
1. Install MPLAB X IDE.
2. Install the USB drivers as specified.
3. Connect to the PC. For infomation on target and trace connections, see
Chapter 3. “Operation”.
4. Install the language toolsuite/compiler you want to use for development.
5. Launch MPLAB X IDE.
6. Use the New Project wizard (File>New Project
) to add your “Real ICE” emulator
to your project.
7. Use the project Properties dialog (File>Project Properties
) to set up emulator
options.
8. Run the project (build and run) from Run>Run Project
.
Items of note are:
1. Installing USB drivers on Windows OS systems requires following specific
instructions. See MPLAB X IDE documentation for details.
2. Each emulator contains a unique identifier which, when first installed, will be
recognized by the OS, regardless of which computer USB port is used.
3. MPLAB X IDE operation connects to the hardware tool at runtime (Run or Debug
Run). To always be connected to the hardware tool (like MPLAB IDE v8), click in
the Tools>Opt ions
, Embedded button, Generic Settings tab, “Keep hardware
tool connected” checkbox.
4. Configuration bits must now be set in code. They can only be viewed in the
Configuration bits window (Window>Memory
, Format drop-down set as “Code”,
Memory drop-down set as “Configuration Bits”.)
Note: The emulator CANNOT power a target board.