MPLAB® PICkit™ 4 Debugger Program Options

Choose to erase all memory before programming or to merge code.

Table: Program Option Category

Erase All Before Program Enabling this option will cause the entire device to be erased prior to programming the data from MPLAB® X IDE. Any memory areas designated to be preserved will be read before the device is erased and reprogrammed on the device when the device is programmed.
Unless programming new or already erased devices, it is important to have this box checked. If not checked, the device is not erased and the program code will be merged with the code already in the device.
Programming mode entry This option designates the method the PICkit™ 4 debugger will use to put the target device in programming mode. For the low voltage method, Vpp will not exceed the Vdd supply voltage. Instead, a test pattern will be used on Vpp. For the high-voltage method, a voltage in excess of 9 V will be placed on Vpp.
LED Brightness Setting Select the level of brightness from 1 (darkest) to 10 (brightest).
PGC Configuration This option determines the type of resistance that will be applied to the PGC line (pull down, pull up or none). The default is pull down. The value of the resistance is determined by the PGC resistor value option below.
PGC resistor value (kΩ) Type in a resistor value from 0-50.The default value is 4.7 kΩ. If the PGC configuration is set to none, this value is ignored.
PGD Configuration Select either none, pull up or pull down. The default is pull down. The value of the resistance is determined by the PGD resistor value option below.
PGD resistor value (kOhms) Type in a resistor value from 0-50.The default value is 4.7 kΩ. If the PGD configuration is set to none, this value is ignored.
Program Speed Select the speed the debugger will use to program the target either 'Low', 'Normal' or 'High'. The default is 'Normal'. If programming should fail, using a slower speed may solve the problem.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
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.