DV164121 Microchip Technology, DV164121 Datasheet - Page 46
![KIT PICKIT 2 DEBUG EXPRESS](/photos/9/26/92656/dv164121_sml.jpg)
DV164121
Manufacturer Part Number
DV164121
Description
KIT PICKIT 2 DEBUG EXPRESS
Manufacturer
Microchip Technology
Series
PICkit™ 2r
Type
Microcontrollerr
Specifications of DV164121
Contents
Board, PICkit™ 2 Programmer, Cable, CD
Processor To Be Evaluated
PIC family
Data Bus Width
8 bit, 16 bit, 32 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC Micro® MCU
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DV164121
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
DV164121
Manufacturer:
MICROCHIP
Quantity:
12 000
DS51553E-page 42
FIGURE 4-15:
4.5.5
To create a hex file for programming the device, you need to build the project. Select
Project>Build All, or right click on the project name in the Project Window and select
“Build All” from the pop-up menu. The MPASM assembler will create a hex file with the
same name as the source .asm file. The assembler’s progress will be visible in the
Build tab of the Output window (Figure 4-16).
FIGURE 4-16:
4.5.6
The Configuration bits that will be programmed into the device are set from within the
program using __CONFIG directives. Once the project is built, the values of these bits
can be verified using the Configuration Bits window. Select Configure>Configuration
Bits to open the window (Figure 4-17.)
The following Configuration bits should now be set for this tutorial:
Config1:
• Oscillator – Internal RC No Clock
• Watchdog Timer – Off
• Power-Up Timer – On
• Master Clear Enable – MCLR is external
• Code-Protect – Off
• Data EE Protect – Off
• Brown-Out Detect – BOD and SBOREN Disabled
• Internal-External Switch Over Mode – Disabled
• Monitor Clock Fail-safe – Disabled
• Low-Voltage Program – Disabled
Creating a Hex File
Checking Configuration Bit Values
PROJECT WINDOW FILE MENU
OUTPUT WINDOW – BUILD THE PROJECT
© 2008 Microchip Technology Inc.