DV164126 Microchip Technology, DV164126 Datasheet - Page 14
![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
Low Pin Count USB Development Kit User’s Guide
PROJECT LAB 1 (ENUMERATION)
DS41356A-page 10
3. Downloaded and installed the Microchip Full-Speed USB Firmware Framework.
4. A copy of the “Microchip USB Device Firmware Framework User’s Guide”
5. A copy of the PIC18F13K50/14K50 data sheet (DS41350)
6. A copy of the USB Revision 2.0 Specification available for download from:
7. A copy of the Universal Serial Bus (USB) HID Usage Tables available for
8. Downloaded the USB HID Descriptor Tool available free at:
9. A copy of the Universal Serial Bus Class Definitions for Communications Devices
10. Unzipped the LPCUSBDK_Labs.zip file to the C: directory.
Purpose
The purpose of this lab is intended to introduce the user to creating a project in the
MPLAB IDE using Microchip’s Full-Speed USB Firmware Framework. Though many
application examples in the Framework can be used to create original code, building
the Framework from scratch is a great way to get familiar to the overall functionality of
this multi-tasking tool.
The user will create a project, ensure that the IDE is configured accordingly, and alter
the usb_descriptor.c file to enable the enumeration of the PIC18F14K50 as a HID
mouse device.
Procedure
BUILDING THE FRAMEWORK
1. Open the MPLAB IDE by selecting Start>Programs>Microchip>MPLAB IDE
2. Once in the MPLAB IDE, start the Project Wizard by selecting Project>Project
3. Select the PIC18F14K50 as the device, select the MPLAB C18 C Compiler as
Note:
Available free at:
vice=SS_GET_PAGE&nodeId=2651¶m=en534494
(DS51679)
http://www.usb.org/developers/docs/
This will prove useful as reference throughout the labs.
download at:
http://www.usb.org/developers/devclass_docs/Hut1_12.pdf
http://www.usb.org/developers/hidpage/dt2_4.zip
document available for download at:
http://www.usb.org/developers/devclass_docs
Wizard
the language toolsuite, and create a new project folder in the following directory:
C:\Microchip Solutions\Project Lab 1\Project Lab 1
In this and all subsequent project labs, the USB cable must be discon-
nected from the USB mini-B connector on the Low Pin Count USB Devel-
opment Board when programming with the PICkit 2 programmer.
http://www.microchip.com/stellent/idcplg?IdcSer-
© 2008 Microchip Technology Inc.