
84
Note: execute DE2_115_NIOS_HOST_MOUSE_VGA\demo_batch\nios_host_mouse_vga.bat will
download .sof and .elf files.
Figure 6-4 illustrates the setup for this demonstration.
Figure 6-4 The setup for the USB paintbrush demonstration
6
6
.
.
4
4
U
U
S
S
B
B
D
D
e
e
v
v
i
i
c
c
e
e
Most USB applications and products operate as USB devices, rather than USB hosts. In this
demonstration, we show how the DE2-115 board can operate as a USB device that can be connected
to a host computer. As indicated in the block diagram in Figure 6-5, the Nios II processor is used to
communicate with the host computer via host port on the DE2-115 board’s Cypress CY7C67200
device.
After connecting the DE2-115 board to a USB port on the host computer, a software program has to
be executed on the Nios II processor to initialize the Cypress CY7C67200 chip. Once the software
program is successfully executed, the host computer will identify the new device in its USB device
list and asks for the associated driver; the device will be identified as a Terasic EZO USB. After
completion of the driver installation on the host computer, the next step is to run a software program
on the host computer called USB Controller.exe; this program communicates with the DE2-115
board.
Once a USB connection is established between PC and DE2-115 board, it is able to control and read
Kommentare zu diesen Handbüchern