DV164120 Microchip Technology, DV164120 Datasheet - Page 49
![KIT STARTER PICKIT 2](/photos/9/26/92655/dv164120_board_sml.jpg)
DV164120
Manufacturer Part Number
DV164120
Description
KIT STARTER PICKIT 2
Manufacturer
Microchip Technology
Series
PICkit™ 2r
Type
Microcontrollerr
Datasheet
1.PG164120.pdf
(86 pages)
Specifications of DV164120
Contents
Board, PICkit™ 2 Programmer, Cable, CD
Processor To Be Evaluated
PIC family
Data Bus Width
8 bit, 16 bit, 32 bit
Core Architecture
PIC
Ic Product Type
Programmer
Kit Contents
Hardware, Cables, Literature And Software
Ic Interface Type
USB
Supported Families
PICmicro
Rohs Compliant
Yes
Development Tool Type
Hardware / Software - Starter Kit
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
For Use With
8/14/20-pin PICmicros
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DV164120
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2008 Microchip Technology Inc.
FIGURE 4-19:
3. Select Debugger>Run, or click Run to run the program. The breakpoint will stop
4. Mouse over ADRESH in the line above the breakpoint and it will show the value
FIGURE 4-20:
5. Adjust the potentiometer (RP1) and continue the program execution by selecting
6. Mouse over ADRESH again to see that the A/D result has not changed. Thus it
7. Select Debugger>Reset to reset the program.
8. Select View>Watch to open a new Watch window. This window will allow you to
the program’s execution when the program executes the line marked as a
breakpoint.
of the file register (Figure 4-20).
Debug>Run. The program will run through the loop and halt again.
seems the A/D conversion is not working. The A/D conversion initialization and
setup occurs at the beginning of the program.
watch the A/D register value change as the program executes. The Watch dialog
opens with the Watch 1 tab selected, as shown in Figure 4-21.
Note:
Depending on the device, breakpoint halts may “skid” past the
breakpoint location. In this case, the program will halt on the line:
incfsz
SET BREAKPOINT
ADRESH REGISTER VALUE
Delay,f
DS51553E-page 45