SourceQuest
bringing hardware & software together
Cypress EZ-USB (AN2131) Development
EZ-USB Resources
Data sheets for Cypress EZ-USB 2100 Series Family, 8051, development boards, firmware, etc.
-
Cypress EZ-USB Development Kit
Home Page for Cypress AN2131-DK001 EZ-USB Development Kit -
EZ-USB Technical Reference Manual
Technical Reference for the Cypress EZ-USB 2100 Series Family -
Cypress EZ-USB Development Kit
EZ-USB Development Tools which accompany Cypress AN2131-DK001 EZ-USB Development Kit. Includes evaluation version of Keil 8051 'C' compiler, firmware, and driver samples. -
USB I2C/IO
Board from DevaSys
A popular EZ-USB development board. -
ASEM-51
An excellant freeware 8051 macro-assembler for Win32, Linux, and MS-DOS. Supports a large number of 8051 derivatives using MCU definition files, including the AN2131 and FX2. -
TS Controls 8051 Simulator
A free 8051 software simulator that supports various memory models and 8052 extensions.
SimpleHID Firmware
During the development of SourceUSB, EZ-USB has been useful for emulating device features for testing. A small device framework (written in assembler) has been used to create quick prototypes.
SimpleHID uses this framework to create a minimal HID device. The device is based upon the Devasys USBI2C-IO board but it should work on other EZ-USB development boards. It has a single interrupt input report at 1 ms. interval that carries the current bus frame number (mod-16). More details follow:
- Uses framework consisting of several assembler modules:
- Data.a51 - internal data definitions
- Vector.a51 - reset and interrupt vectors
- UsbJump.a51 - EZ-USB autovector table
- Reset.a51 - reset and initialization
- IntHndlrs.a51 - interrupt handlers
- SetupPkt.a51 - endpoint 0's setup packet decoder
- StdReqs.a51 - routines for processing standard requests
- HidReqs.a51 - routines for processing HID class requests
- Main.a51 - placeholder for a mainloop
- Descriptors.a51 - device, configuration, string HID
- Utils.a51 - utility routines
- ASEM-51 source code.
- Assembles to Intel HEX which is easily loaded on Windows systems with the LOADEZ.SYS driver which accompanies the Devasys board.
MODHID Firmware
MODHID builds on the SimpleHID framework to create a device illustrating Microsoft OS Descriptors or MODs. MODHID adds these features:
- Announces support for MODs by returning an OS_STRING for String Descriptor index 0xEE.
- Supports MOD vendor command for returning a fictional extended configuration descriptor.
- Supports MOD vendor command for returning an extended property descriptor.
MODs are only supported in Windows XP SP1/SP2 and Windows 2003 Server. See Microsoft OS Descriptors for details.