EasyManuals Logo

Microchip Technology MPLAB ICD 5 User Manual

Microchip Technology MPLAB ICD 5
100 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #80 background imageLoading...
Page #80 background image
Debugger Funcon Summary
User Guide
© 2023 Microchip Technology Inc. and its subsidiaries
DS-50003529B - 80
Table 9-10. Clock Opon Category
Use FRC in Debug mode
(dsPIC33E/F and PIC24E/F/H devices only)
When debugging, use the device fast internal RC (FRC) for
clocking instead of the oscillator specied for the application.
This is useful when the application clock is slow.
Checking this checkbox will let the application run at the slow
speed but debug at the faster FRC speed.
Reprogram after changing this setting.
Note: Peripherals that are not frozen will operate at the FRC
speed while debugging.
Target run-time instruction speed Enter a value for the “Speed unit” selected.
Example 1: For a PIC24 MCU and a target clock oscillator at
32 MHz (HS), instruction speed = 32 MHz/2 = 16 MIPS.
Example 2: For a PIC18F8722 MCU and a target clock
oscillator at 10 MHz (HS) making use of the PLL (x4 = 40 MHz),
instruction speed = 40 MHz/4 = 10 MIPS.
Instruction speed units Select either:
KIPS – Thousands (10
3
) of instructions per second
MIPS – Millions (10
6
) of instructions per second
9.2.9 Communicaon
Set the option(s) to use for your device and type of target communication.
Table 9-11. Communicaon Opon Category
Interface Select the interface from the available options based on the project device.
Speed (MHz) Enter a speed based on the available range for the interface.
High Voltage Activation Mode This option displays only for AVR
®
devices with this option. No High Voltage - Default
setting. Simple High Voltage Pulse - The tool will try to activate the interface
by issuing a high voltage pulse. This procedure is safe if the pin is congured as
an input. User Power Toggle - In this mode the user will be prompted to toggle
power on the target device. Once the tool detects that the power returns it will
issue a high voltage pulse before the target device pin is congured, making the
activation procedure as gentle as possible. See also UPDI High-Voltage Activation
Information.
9.2.9.1 User Power Toggle Design Consideraons
When using the debugger, if the power toggle rise time on Target Vdd is too slow (greater than 10
seconds) the User Power Toggle feature won't work. As an example, for the STK600 using the power
switch gives you a too slow rise time but using the VTARGET jumper gives you a fast enough rise
time.
For developers creating their own boards, ensure the Vdd rise time is less than 10 seconds.
9.2.9.2 Programming AVR Devices with UPDI
MPLAB ICD 5 supports using the high-voltage mechanism to activate the AVR Unied Program and
Debug Interface (UPDI). On low pin count AVR devices with UPDI, the UPDI pin can be congured
as GPIO or RESET by conguring the RSTPINCFG conguration bits. To do further programming, the
debugger will have to use a high voltage pulse to reactivate the UPDI interface. When using the high
voltage pulse, you must make sure that all circuits connected to the UPDI wire can tolerate a pulse of
at least 12V.
GPIO vs. UPDI Operation:
When using a high voltage pulse to reactivate the UPDI interface, the reactivation is only temporary,
but it will retain the UPDI functionality until the next reset. After the next reset, the pin will go back
to the conguration as specied by the RSTPINCFG conguration bits. To have the pin congured as
UPDI after a reset, the user will have to change the RSTPINCFG conguration bits back to UPDI.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Microchip Technology MPLAB ICD 5 Specifications

General IconGeneral
BrandMicrochip Technology
ModelMPLAB ICD 5
CategoryMicrocontrollers
LanguageEnglish

Related product manuals