Target Connection Circuitry

The figure below shows the interconnections of the MPLAB® REAL ICE in-circuit emulator through the target board connector to a device on the target board. The interconnection is very simple. Any problems experienced are often caused by other connections or components on these critical lines that interfere with emulator operation, as discussed in Target Circuit Design Precautions.

Figure: Standard Connection To Target Circuitry

TargetCircuitry.jpg

Table 1: Target Connector and Related Device I/O

Pin No. Device I/O Description
1 Vpp/notMCLR The emulator requires access to Vpp for programming and debugging the device.
2 Vdd Target Vdd is sensed by the emulator to allow level translation for target low-voltage operation and to detect a device. If the emulator does not sense voltage on its Vdd line, it will not connect with the device.
Note: The emulator DOES NOT provide target power.
3 Vss Target Vss is sensed by the emulator.
Note: The emulator DOES NOT provide target Vss or ground.
4 PGD The emulator requires access to PGD and PGC for programming and debugging the device.
5 PGC

Table 2: Circuitry on Device I/O

Device I/O Description
Vpp/notMCLR and Vdd A pull-up resistor (minimum 50kΩ) should be connected from the Vpp/MCLR line to Vdd so that the line may be strobed low to reset the device.
XTAL The target device must be running with an oscillator for the emulator to function as a debugger.
AVdd, AVss Not all devices have the AVdd and AVss lines, but if they are present on the target device, all must be connected to the appropriate levels in order for the emulator to operate. This also applies to voltage regulator pins (e.g., ENVREG/DISVREG on PIC24FJ MCUs).
Vdd, Vss, AVdd, AVss In general, it is recommended per device data sheet that all Vdd/AVdd and Vss/AVss lines be connected to the appropriate levels. For devices with a Vcap pin (e.g., PIC18FXXJ devices), the appropriately-valued capacitor should be placed as close to the Vcap pin as possible.
© 2017 Microchip Technology, Inc.
Information contained on this site 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.