DV164126 Microchip Technology, DV164126 Datasheet - Page 17
![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.
FIGURE 2-2:
15. Click OK to apply these settings and close the Build Options window.
At this point, Framework has been built.
DEFINING PROJECT DESCRIPTORS
The enumeration.c file’s ProcessIO() is empty. Therefore, this application will do
nothing. The intention of this lab is to introduce the user to properly configure the firm-
ware so that the PIC18F14K50 will enumerate as a HID mouse once connected to the
Host PC. Therefore, the usb_descriptors.c file will need to be altered accordingly.
As a reference, the USB Revision 2.0 specification should be opened to Section 9-5
“Descriptors”. This section details the various components required in each type of
descriptor (device, configuration, interface etc…). This usb_descriptor.c file
should be an exact replica of the source file of the same name found in the Framework
folder
C:\Microchip Solutions\USB Device - HID - Mouse\HID - Mouse –
Firmware\usb_descriptor.c
This file can be used as a reference during debugging.
16. In the MPLAB IDE Project window, select and open the usb_descriptors.c
source file.
Note #include "./USB/usb_function_hid.h" at the top of the file. If a
different class of device is being defined for a given application, the appropriate
class header file will need to be included here.
CONFIGURING FOR MICROCHIP USB FIRMWARE
FRAMEWORK
DS41356A-page 13