DE3 User Manual
61
Enum Root Hub and
Enable 3 Ports
Hub Status Polling
New Device
Attached
USB Mouse
Attached
Usb Mouse
Detached
No
Yes
No
Init Usb Mouse
Driver Instance
Yes
Polling Status of All
Existed Mouse
Instances
Dir root directory
Dump test.txt
content
Remove Associated
Mouse Instance
Yes
Init USB-Storage
Driver Instance
UnInit USB-Storage
Driver Instance
Yes
No
Associated
Mouse Instance
Exists
Yes
No
No
Init Host Controller
Start
USB
mass-storage
Attached
Figure 5.3. Software workflow of the USB-Host Demonstration
Demonstration Source Code
Quartus II Project directory: DE3_USB
FPGA Bit Stream: DE3_USB.sof
NIOS II Workspace: DE3_USB\Software\Project_Usb_Host
The NIOS II source code list is shown in
Figure 5.4
. Users can modify terasic_debug.h to configure
the debug message. Note, debug message may effects the USB performance, and possibly causes
malfunction in this demonstration.
Summary of Contents for Altera DE3
Page 1: ...Altera DE3 Board ...
Page 67: ...DE3 User Manual 64 Figure 5 5 Plug USB Devices into DE3 Figure 5 6 Display Device Information ...
Page 75: ...DE3 User Manual 72 Figure 5 14 Display SD Card Information for the SD Card Demonstration ...
Page 79: ...DE3 User Manual 76 Figure 5 19 Parameter Settings in DDR2 Controller ...
Page 114: ...DE3 User Manual 111 Figure D 5 The reported message of the invalid I O pins ...