USB-BDI
|
This Firmware is writen for a EZ-USB FX2LP CY7C68013A. The USB-BDI is a composite USB devices which two parts. Firstly it creates a virtual com port which allows to communicate with the MSP555's SCI1 serial interface. Secondly its possible to program and debug the MSP555 over USB with this device.
The main method of the program is in the file usbpdi_main.c. It contains the initialization of the different parts of the device and a endless loop. The loop calls the different methods to handle the packages of the different endpoints and toggles a LED.
When the USB is plugged in the operating System sends some different requests. First it sends a set address request. This request handles the CY7C68013A automatically. After that the Host sends a get descriptor request. The picture below gives a overview which descriptors are sent to the Host. The values of the descriptors can be found in the file usb_descriptors.a51 A Detailed description can be found under www.usb.org or in the book Axelson - Serial Port Complete.
From 1.1 to 1.2:
From 1.0 to 1.1: