README.TXT
USB Keyboard to Terminal Demo & USB Printer Demo for ML401 





USB Keyboard to Terminal Demo

1. EEPROM Image

The "eeprom" directory contains the project files needed to generate the EEPROM Image for the USB keyboard demo.

Note: The Development Tools for the CY7C67300 embedded USB host controller are available by contacting Cypress Semiconductor.

With the Cypress tools installed, open a Cypress BASH environment.

CD into this directory and type "make" at the command prompt to build the project and create the bin file.

Connect a USB cable from the PC to the USB Peripheral 2 connector on the ML401.

Type "qtui2c eeprom.bin f" to download the image to the EEPROM.


2. Compact Flash Bin File

The "keyboard" directory contains the project files needed to generate the bin file to put on the Compact Flash for the USB keyboard demo.

With the Cypress tools installed, open a Cypress BASH environment.

CD into this directory and type "make" at the command prompt to build the project and create the bin file.

Copy the generated file "demo.bin" onto Compact Flash and insert it into the ML401.


3. Load FPGA Bit File

In EDK, open the "ml401_emb_ref" project.

Load the bit file from the "ml401_emb_ref" design onto the FPGA.


4. Download Software

In EDK, open the "ml401_emb_ref" project.

Compile the "usb_hpi_test" sw application.

Download and run.


5. Demo USB

Plug in a USB keyboard into the USB Host 1 connector on the ML401.  Make sure that what you plug in is a keyboard only, since the demo does not support keyboard/hub combos.

Connect a serial cable from the ML401 to the PC for additional terminal output.

Push the keyboard keys and output will appear on both the character LCD and the UART terminal window.





USB Printer Demo

1. EEPROM Image

The "eeprom" directory contains the project files needed to generate the EEPROM Image for the USB keyboard demo.

With the Cypress tools installed, open a Cypress BASH environment.

CD into this directory and type "make" at the command prompt to build the project and create the bin file.

Connect a USB cable from the PC to the USB Peripheral 2 connector on the ML401.

Type "qtui2c eeprom.bin f" to download the image to the EEPROM. 


2. Compact Flash Bin File

The "printer" directory contains the project files needed to generate the bin file to put on the Compact Flash for the USB Printer demo.

With the Cypress tools installed, open a Cypress BASH environment.

CD into this directory and type "make" at the command prompt to build the project and create the bin file.

Copy the generated file "printer.bin" onto Compact Flash and insert it into the ML401.


3. Load FPGA Bit File

In EDK, open the "ml401_emb_ref" project.

Load the bit file from the "ml401_emb_ref" design onto the FPGA.


4. Download Software

In EDK, open the "ml401_emb_ref" project.

Compile the "usb_printer" sw application.

Download and run.


5. Demo USB

Plug in a USB Printer into the USB Host 1 connector on the ML401.  Currently the demo works for Epson Stylus C60 Series printers.  To change the project to communicate with other printers, modify the sw project file "testpage.h" to send the proper control signals for your particular printer.

Connect a serial cable from the ML401 to the PC for additional terminal output.

The printer should print a testpage containing the text "Hello World!"