ML40x Getting Started Tutorial
25
UG083 (v5.0) June 30, 2006
ML40x Demonstrations in System ACE CF
R
USB
Location
System ACE configuration address 5.
From the Bootloader menu, select option
5
to start the USB demonstration.
Description
This demonstration uses the processor and the USB controller chip on the ML40
x
board to
communicate with a USB keyboard.
The program functions by first reading the file
demo.bin
from the CompactFlash card.
This file contains the software for the internal microprocessor inside the USB controller
(Cypress CY7C76300). The FPGA’s processor reads this file and writes the data to the
memory inside the USB controller through its HPI port. The USB controller's internal
processor then starts and can begin implementing low-level USB commands to
communicate with the USB keyboard. Data from the USB keyboard is transferred to the
FPGA’s processor using mailbox registers over the HPI port.
Setup
Connect a standard USB keyboard to the ML40
x
board. Keys typed on the USB keyboard
are then displayed on the character LCD and serial port.
Note:
This demonstration requires a USB keyboard without a built-in hub.