Mastering Hardware development is quite hard. Because, hardware is made each self. At moment, we can not find out any problem, if you are using not perfect stuffs. We should try step-by-step from complete stuff with small customizing/adding. This development style has been called frame-work. I'd like to apply this style for USB-development.
System
Basic sentense as board training, LED light-on and read switch to/from port of micro controller. Target board is either Optimize or IPI evaluation board.
As I made frame-work for EZ-USB. Also would like to make frame-work for USB2.0. However, USB2.0 is very tough than USB1.1. Quite difficult to port Keil example to SDCC.
System
This sytem is orginally from Linux system. would not like to add any code for realizing frame-work.
Customizing point
From original
Nothing
From USB2GBA
Add two LEDs via 810ohm register
Software customizing points
Firmware
LED direct controll from host software
Host software
Original has been developed for Linux system, this system is designed for Windows environment.
Features of software
Firmware
Host software
This host software is developed by VC++Ver.6. Very ugly code as using Wizard output, however very small change from generated code for easy understanding.
Download
Original code is controlled by GPL. Your code will be also controlled by GPL.