DV164121 Microchip Technology, DV164121 Datasheet - Page 49

KIT PICKIT 2 DEBUG EXPRESS

DV164121

Manufacturer Part Number
DV164121
Description
KIT PICKIT 2 DEBUG EXPRESS
Manufacturer
Microchip Technology
Series
PICkit™ 2r
Type
Microcontrollerr
Datasheets

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
Part Number:
DV164121
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DV164121
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

Related parts for DV164121