![Microchip Technology PICkit 2 User Manual Download Page 37](http://html1.mh-extra.com/html/microchip-technology/pickit-2/pickit-2_user-manual_1786058037.webp)
PICkit™ 2 User’s Guide
DS51553B-page 32
©
2006 Microchip Technology Inc.
4.2.7
Setting Debug Options
Before debugging can begin, the device Configuration bits need to be selected.
4.2.7.1
CONFIGURATION BITS
The Configuration bits that are to be programmed into the device are set from within
the program. These bits can be verified using the Configuration Bits dialog window.
• Select Configure > Configuration Bits.
• To change the setting for a category, double click on the text in the “Setting”
column and select the appropriate setting for the corresponding category.
The following Configuration bits should be set for this tutorial:
• Oscillator – INTOSC
• Watchdog Timer – Off
• Power-Up Timer – On
• MCLR Pin Function Select – Normal Function
• Code Protect – Off
• Data EE Protect – Off
• Brown-Out Detect – BOD enabled, SBODEN disabled
• Internal-External Switch Over – Disabled
• Fail Clock Monitor Enable – Disabled
FIGURE 4-18:
CONFIGURATION BIT SETTINGS
4.2.8
Loading Program Code for Debugging
• Select Debugger > Select Tool > PICkit 2 to select the PICkit 2 Microcontroller
Programmer as the debug tool.
• Select Debugger > Program to program the
PIC16F917 Debug Demo.hex
file
into the PIC16F917 on the 44-Pin Demo Board.
Summary of Contents for PICkit 2
Page 2: ...2006 Microchip Technology Inc DS51553B PICkitTM 2 Microcontroller Programmer USER S GUIDE...
Page 45: ...PICkit 2 User s Guide DS51553B page 40 2006 Microchip Technology Inc NOTES...
Page 47: ...PICkitTM 2 User s Guide DS51553B page 42 2006 Microchip Technology Inc NOTES...
Page 52: ...2006 Microchip Technology Inc DS51553B page 47 PICkit 2 User s Guide NOTES...