PIC18F4550_USB_firmware
所属分类:单片机开发
开发工具:C/C++
文件大小:166KB
下载次数:349
上传日期:2006-03-12 22:39:29
上 传 者:
backup2k
说明: Microchip公司PIC18F4550芯片的USB firmware代码,我在压缩包中添加了jpg格式的硬件连接原理图和MPLAB IDE下的config bits配置图,希望对大家有用。
(Microchip PIC18F4550 chip USB firmware code, I compressed add the jpg format connectivity hardware schematics and MPLAB IDE config bits of maps, useful for all.)
文件列表:
Tools\C18 2.30.01+.txt (107, 2004-12-01)
Tools\MPLAB IDE 6.62+.txt (104, 2004-12-01)
Tools (0, 2005-03-19)
fw\HID_ConfigBits.jpg (55260, 2005-05-09)
fw\hid\CleanUp.bat (1048, 2005-06-14)
fw\hid\ExtFlash.c (4103, 2005-06-14)
fw\hid\MCHPUSB.mcs (10173, 2005-06-14)
fw\hid\MCHPUSB.mcw (51712, 2005-06-14)
fw\hid\Resources.h (646, 2005-06-14)
fw\hid\Resources.h.bak (0, 2005-06-15)
fw\hid\hid.mcp (1721, 2005-06-14)
fw\hid\io_cfg.h (5407, 2005-06-14)
fw\hid\main.c (6484, 2005-06-15)
fw\hid\mm36sb020.c (12946, 2005-06-16)
fw\hid\mm36sb020.c.bak (12050, 2005-06-15)
fw\hid\p18f2550.h (35179, 2005-06-14)
fw\hid\p18f4550.h (37957, 2005-06-14)
fw\hid\rm18f4550.lkr (1441, 2005-06-14)
fw\hid\autofiles\CVS\Root (38, 2005-06-15)
fw\hid\autofiles\CVS\Repository (15, 2005-06-15)
fw\hid\autofiles\CVS\Entries.Old (137, 2005-06-17)
fw\hid\autofiles\CVS\Entries (133, 2005-06-17)
fw\hid\autofiles\CVS\Entries.Extra.Old (75, 2005-06-17)
fw\hid\autofiles\CVS\Entries.Extra (75, 2005-06-17)
fw\hid\autofiles\CVS (0, 2005-06-15)
fw\hid\autofiles\usbdsc.h (2729, 2005-06-14)
fw\hid\autofiles\usbdsc.c (14300, 2005-06-17)
fw\hid\autofiles\usbcfg.h (3922, 2005-06-17)
fw\hid\autofiles (0, 2005-06-15)
fw\hid\system\CVS\Root (38, 2005-06-15)
fw\hid\system\CVS\Repository (12, 2005-06-15)
fw\hid\system\CVS\Entries.Old (51, 2005-06-15)
fw\hid\system\CVS\Entries (76, 2005-06-15)
fw\hid\system\CVS\Entries.Extra.Old (27, 2005-06-15)
fw\hid\system\CVS\Entries.Extra (55, 2005-06-15)
fw\hid\system\CVS (0, 2005-06-15)
fw\hid\system\typedefs.h (4187, 2005-06-14)
fw\hid\system\interrupt\CVS\Root (38, 2005-06-15)
fw\hid\system\interrupt\CVS\Repository (22, 2005-06-15)
... ...
Compiling tools' version is in directory tools\
C:\mchpfsusb_ghid\fw\HID\HID_ConfigBits.jpg is useful for ICD2 setup
read \fw\hid\ReadmeBeforeCompile.txt before compiling the Firmware
Generic_HID Firmware for Microchip Full-speed USB Chips
Jan Axelson
www.Lvr.com
March 19, 2005
This application is a generic HID device (not a system
keyboard or mouse) that does the following:
Receives Output reports using interrupt OUT transfers and
sends the report data back to the host in Input reports
using interrupt IN transfers.
Receives Output reports using control transfers (Set_Report
request) and sends the report data back to the host in Input
reports using control transfers (Get_Report requests.)
The application uses separate buffers for Output reports
received via interrupt transfers and Output reports received
via control transfers use separate buffers. The application
uses separate buffers for Input reports received via
interrupt transfers and Input reports received via control
transfers.
Receives Feature reports using control transfers (Set_Report
request) and sends the report data back to the host in
Feature reports using control transfers (Get_Report
requests.)
A single buffer holds received Feature reports and reports
to be sent.
This example is adapted from Microchip's Mouse example.
The project has been tested on the PICDEM?FS USB
DEMONSTRATION BOARD
The project files should be at C:\MCHPFSUSB_generic_hid. If
you want to change the location, see section 4.2.3 in the
PICDEM FS USB User’s Guide.
This application and host applications to communicate with
the device are available from www.Lvr.com/hidpage.htm
March 30, 2005
Minor edits and enhancements added.
------------------------------------------------------------
Tools:
- C18 Compiler and MPLAB(R) IDE, download from
www.microchip.com
----------------------------------------------------------------------
近期下载者:
相关文件:
收藏者: