Program

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

Table 1. 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 program code will be merged with the code already in the device.

Programming mode entry This option designates the method the 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 volts will be placed on VPP.
Note: High voltage programming requires VDD above 2.8V. Select low voltage programming if your target voltage is below 2.8V.

High voltage program mode entry - 2.8 to 5.0V.

Low voltage program mode entry only - 1.2 to 5.0V.

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 (kΩ) 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 as either Low, Normal or High. The default is Normal. If programming should fail, using a slower speed may solve the problem.