Microchip Technology MPLAB REAL ICE In-Circuit Emulator Setup

2. Connect the PIC32MX Trace Interface hardware (AC244006 – sold separately) as shown on the back of these instructions. Your PIC32MX PIM must contain a device that supports trace in order to use trace. See the device data sheet for details.
3. Power the target board.
Note: The emulator cannot power the target.
Software Setup
1. Launch MPLAB IDE.
Help>Release
Notes>MPLAB REAL ICE Emulator Release Notes.
3. Select your device:
Configure>Select Device.
4. Select the MPLAB REAL ICE in-circuit emulator as a debugger (
Debugger>Select Tool>REAL ICE) or as a programmer
(
Programmer >Select Programmer>REAL ICE).
5. When using the emulator as a debugger, select “Debug” on the toolbar:
Emulator Usage
1. You can enable trace through Debugger/Programmer>Settings,
Trace tab, check “Enable Trace”. However, other debug functions may
be impacted. For more information, please see the “MPLAB
®
REAL
ICE In-Circuit Emulator User’s Guide” (DS51616) or on-line help (from
MPLAB IDE select
Help>Topics>Debuggers>MPLAB REAL ICE).
2. To verify that the emulator is functioning properly, use the loop-back test described on the back of these instructions.
3
4
MPLAB® REAL ICE™ In-Circuit Emulator Setup
Driver and Software Installation
CAUTION:
Do not connect the hardware before installing the software. See
instructions below.
1. Install the MPLAB® IDE v8.00 or later software application on your PC from either the CD-ROM or Microchip web site. This and later versions include support for PIC32MX devices on the MPLAB REAL ICE™ in­circuit emulator system .
2. Insert a driver board into the emulator pod, but do not connect to a target board. Connect the emulator pod to your PC via a USB cable. Follow the “Found New Hardware Wizard” to install the drivers (software) automatically. For more information, detailed driver installation instructions are available in the MPLAB IDE installation directory in:
REAL ICE\Drivers\ddri.htm
Hardware Setup
CAUTION: If you need to change the driver board, remove power (USB
connection) from the pod first
.
1. Connect the emulator pod to your unpowered target as shown in one of the two communication diagrams on the back of these instructions.
2
1
USB/Power
Emulator Pod
Logic Probe Connector
Indicator Lights
Push Buttons
ACTIVE
STATUS
RESETFUNCTION
Standard or High-Speed Driver Board
To P C USB Port
for PIC32MX Devices
The Microchip na me and logo, the Microchip lo go and MPLAB are registered trade marks of Microchi p Technology Incorporated in the U.S. A. and othe r countries. REAL ICE is a trademark of Micr ochip Technology Incorporat ed in the U.S.A. and other count ries. © 2007 Microchip Technology Incorporated, 1 0/07 DS51687A
RIInstall32_10x7.fm Page 1 Tuesday, October 16, 2007 11:16 AM
Emulator Pod
Target Board
PIC32MX PIM
ACTIVE
STATUS
RESETFUNCTION
Standard Driver Board
Standard Communication
Emulator Pod
Tar g e t Boa r d
High-Speed Driver Board
PIC32MX PIM
ACTIVE
STATUS
RESETFUNCTION
J2
J3
High-Speed Receiver Board
High-Speed Communication
External Triggers
or Trace
External Triggers
or Trace
Debug/Programmer Interface
Debug/Programmer Interface
J2
J3
Performance Pak
PIC
32
trace port
PIM
PIC32MX Trace Interface
Target Board
Emulator Pod
Standard Driver Board
Loop-Back Test B
oard
Modular Cable
Logic Probe Connector
Driver Board Slot
Loop-Back Test
To verify that the emulator is function­ing properly, use the loop-back test board. Disconnect the emulator from the target and PC, plug in the stan­dard driver board and loop-back test board as shown, reconnect the emu­lator to the PC, and select the emula­tor as in “Software Setup”, Step 3, on the front of these instructions to automatically run the loop-back test.
ACTIVE
STATUS
RESETFUNCTION
Trace Adapter
trace cable
Emulator Pod
logic probe connector
Debug/Programmer Interface
MPLAB® REAL ICE™ In-Circuit Emulator Setup
for PIC32MX Devices
OR
RIInstall32_10x7.fm Page 2 Tuesday, October 16, 2007 11:16 AM
Loading...