Microchip Technology MPLAB ICD 5 User Manual page 44

In-circuit debugger
Table of Contents

Advertisement

Figure 4-5. Improper Circuit Components
In particular, these guidelines must be followed:
• Do not use pull-ups on PGC/PGD – they could disrupt the voltage levels.
• Do not use capacitors on PGC/PGD – they will prevent fast transitions on data and clock lines
during programming and debugging communications, and slow programming times.
• Do not use capacitors on MCLR – they will prevent fast transitions of VPP. A simple pull-up
resistor is generally sufficient.
• Do not use diodes on PGC/PGD – they will prevent bidirectional communication between the
debugger and the target device.
4.4.2.2 Sequence of Operations Leading to Debugging
Given that the
4.4.2.4. Requirements for Debugging
Debugger as the current tool in MPLAB X IDE. Go to File> Project Properties to open the dialog and
then under "Hardware Tool," click "ICD 5."
The following actions can now be performed:
• When Debug > Debug Main Project is selected, the application code is programmed into the
device's memory via the ICSP protocol as described at the beginning of this section.
• A small "debug executive" program is loaded into the memory of the target device. Since some
architectures require that a debug executive must reside in program memory, the application
program must not use this reserved space. Some devices have special memory areas dedicated
to the debug executive. Check your device data sheet for details.
• Special "in-circuit debug" registers in the target device are enabled by MPLAB X IDE. These allow
the debug executive to be activated by the debugger. For more information on the device's
reserved resources, see
• The target device is run in Debug mode.
4.4.2.3 Debugging Details
The figure below illustrates the MPLAB ICD 5 In-Circuit Debugger system when it is ready to begin
debugging. In the figure, Rpu=10 kΩ typical and Ric=4.7 kΩ.
Note: There are programmable pullups and pulldowns instead of fixed resistor.
4.4.2.5. Resources Used by the
User Guide
©
2023 Microchip Technology Inc. and its subsidiaries
are met, set the MPLAB ICD 5 In-Circuit
Debugger.
Operation
DS-50003529B -
44

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPLAB ICD 5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents