This is the readme file for fwhid.zip. Fwhid is HID firmware for Cypress Semiconductors' EZ-USB chip. The code is based on Cypress' frameworks C code and is available from Lakeview Research at http://www.lvr.com.
I developed the firmware using Keil's C compiler and uVision V1.32. The firmware is an adaptation of Cypress' bulktest example. The code requires the full (not evaluation) version of the C compiler.
The firmware defines the device as a member of the human-interface device (HID) class. It enables the device to send and receive 2 bytes of generic data. The code works with the usbhidio application available from www.lvr.com.
These are the major changes I made to the bulktest code:
I left the rest of the code intact, even though some of it (such as code for the other endpoints) is unused.
I surrounded each change or addition to the code with the following comments:
//HID code start
//Hid code end
To avoid problems with paths, I recommend copying the program files to a new folder in the same location used for the other EZ-USB examples. (The default is Anchor\EzUsb\Examples).
This version of the code has limitations that I hope to eliminate eventually:
I welcome whatever comments, bug reports, fixes (especially fixes!), critiques, suggestions, etc. that you may have about this code. Contact me at jan@Lvr.com
I have much more information and example code for HID-class devices and other topics for USB developers on my USB page:
Jan Axelson
Lakeview Research