Microchip Technology MA180021 Manuale Utente

Pagina di 28
© 2007 Microchip Technology Inc.
DS51678A-page 17
PIC18F87J50 FS USB
PLUG-IN MODULE
USER’S GUIDE
Chapter 4.  Demo Code/Reference Firmware
To assist in the development of USB applications, Microchip provides a number of 
demonstration firmware projects (such as HID, CDC, etc.), and other support materials, 
such as application notes. The USB demonstration projects use the same basic USB 
framework, which is referred to as the “MCHPFSUSB Firmware”. Documentation for 
this firmware can be found in the “MCHPFSUSB Firmware User’s Guide” (DS51679). 
The firmware projects are contained in an executable setup file which can be found 
either on the CD-ROM disc, which distributes with the PIM, or at the Microchip USB 
design center:
http://www.microchip.com/usb
Once the MCHPFSUSB Firmware has been installed, the MPLAB
®
 IDE project contain-
ing the source code and hex file for the HID class, mouse like demonstration firmware, 
that comes preprogrammed on the PIC18F87J50, can be found in the following 
directory:
C:\MCHPFSUSB\fw\HID\Mouse
By default, the MPLAB IDE projects are configured to work with the PICDEM™ FS USB 
Demo Board, which uses the PIC18F4550 microcontroller. Refer to the MCHPFSUSB 
Firmware release notes for details on how to switch the projects over for use with the 
PIC18F87J50.