9.2.3 Program

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

Table 9-4. Program Option Category
Erase All Before ProgramEnabling 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.

Program SpeedSelect 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.