User manual
Debugger Function Summary
2017 Microchip Technology Inc. DS50002596A-page 59
A.3.2 Debug Options
Use software breakpoints, if available, for the project device.
A.3.3 Program Options
Choose to erase all memory before programming or to merge code.
A.3.4 Freeze Peripherals
Select from the list of peripherals to freeze or not freeze on program halt. The available
peripherals are device dependent.
TABLE A-2: DEBUG OPTIONS OPTION CATEGORY
Use Software
Breakpoints
Check to use software breakpoints. Uncheck to use hardware break-
points. See discussion below to determine which type is best for your
application.
TABLE A-3: SOFTWARE VS HARDWARE BREAKPOINTS
Features Software Breakpoints Hardware Breakpoints
Number of breakpoints Unlimited Limited
Breakpoints are written to Program Memory Debug Registers
Time to set breakpoints Oscillator Speed Dependent –
can take minutes
Minimal
Skidding No Yes
Note: Using software breakpoints for debugging impacts device endurance. Therefore, it is
recommended that devices used in this manner not be used as production parts.
TABLE A-4: PROGRAM OPTIONS OPTION CATEGORY
Erase All Before
Program
Check to erase all memory before programming begins.
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.
Enable Low-Voltage
Programming
For Programmer Settings only, PIC12F/16F1xxx devices:
For the LVP configuration bit set to “Low-voltage programming
enabled”, you may program in either high-voltage (default) or
low-voltage (enabled here.)
For the LVP configuration bit set to “High-voltage on MCLR/V
PP
must be used for programming”. You may only program using
high-voltage.
Programming Method Select either Apply VDD before VPP (default) or Apply VPP before
VDD.
LED Brightness Setting Select the level of brightness from 1 (darkest) to 10 (brightest).
PGC Configuration Select either none, pull up or pull down. The default is pull down.
PGC resistor value
(kOhms)
Type in a resistor value from 0-50.The default value is 4.7 kOhms.
PGD Configuration Select either none, pull up or pull down. The default is pull down.
PGD resistor value
(kOhms)
Type in a resistor value from 0-50.The default value is 4.7 kOhms.
Program Speed Select either Low, Normal or High. The default is Normal.