DV164126 Microchip Technology, DV164126 Datasheet - Page 21
![KIT DEVELOPMENT USB W/PICKIT 2](/photos/9/4/90430/dv164126_sml.jpg)
DV164126
Manufacturer Part Number
DV164126
Description
KIT DEVELOPMENT USB W/PICKIT 2
Manufacturer
Microchip Technology
Specifications of DV164126
Main Purpose
Interface, USB 2.0 Slave
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PIC18F13K50, PIC18F14K50
Primary Attributes
Full Speed (12Mbps), MCU Based
Secondary Attributes
4 Labs: Enumeration, HID Mouse, HID Keyboard, CDC Serial Emulator
Silicon Manufacturer
Microchip
Silicon Core Number
PIC18F14K50, PIC18F13K50
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Family Name
Piccolo
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DV164126
Manufacturer:
Microchip Technology
Quantity:
135
© 2008 Microchip Technology Inc.
EXAMPLE 2-5:
The descriptor definitions are now complete.
21. Compile the project. There should be no errors.
Testing The Application
22. Configure the Low Pin Count USB Development Board so that the J14 jumper is
23. Disconnect the J12 jumper.
24. Connect the PICkit 2 programmer to the PC USB port and then to the J6
25. Open the PICkit 2 programmer environment by selecting Start>Programs>Micro-
26. The PICkit 2 programmer software should recognize that the PICkit 2 is
27. Within the PICkit 2 programmer software, navigate to the
28. Plug the USB cable into the mini B connector, J1.
0x05, 0x01, /*
0x09, 0x02, /*
0xA1, 0x01, /*
0x09, 0x01, /*
0xA1, 0x00, /*
0x05, 0x09, /*
0x19, 0x01, /*
0x29, 0x03, /*
0x15, 0x00, /*
0x25, 0x01, /*
0x95, 0x03, /*
0x75, 0x01, /*
0x81, 0x02, /*
0x95, 0x01, /*
0x75, 0x05, /*
0x81, 0x01, /*
0x05, 0x01, /*
0x09, 0x30, /*
0x09, 0x31, /*
0x15, 0x81, /*
0x25, 0x7F, /*
0x75, 0x08, /*
0x95, 0x02, /*
0x81, 0x06, /*
on the two right-most pins. This application will use power supplied by V
of the USB cable.
connector on the Low Pin Count USB Development Board.
chip PICkit 2 vx.xx.
connected and identify the PIC18F14K50 device.
C:\LPCUSBDK_Labs\Lab1_files\output folder and download the
Project Lab 1.hex file to the PIC18F14K50.
Once connected, the enumeration process should begin. The Host PC should
recognize the connection of a new device and display a notification at the right
corner of the screen indicating the “Mouse Enumeration Demo” text placed in the
product string earlier in this lab.
REPORT DESCRIPTOR FOR LAB 1
Usage Page (Generic Desktop)*/
Usage (Mouse)*/
Collection (Application)*/
Usage (Pointer)*/
Collection (Physical)*/
Usage Page (Buttons) */
Usage Minimum (01)*/
Usage Maximum (03)*/
Logical Minimum (0)*/
Logical Maximum (0)*/
Report Count (3)*/
Report Size (1)*/
Input (Data, Variable, Absolute)*/
Report Count (1)*/
Report Size (5)*/
Input (Constant)
Usage Page (Generic Desktop)*/
Usage (X)*/
Usage (Y)*/
Logical Minimum (-127)*/
Logical Maximum (127)*/
Report Size (8)*/
Report Count (2)*/
Input (Data, Variable, Relative)*/
;5 bit padding
*/
DS41356A-page 17
BUS
off