DE4 User Manual
115
www.terasic.com
June 20, 2018
5
5
.
.
2
2
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. This
demonstration will show how the DE4 board is operated as a USB device by connecting it to a host
computer. In this demonstration, the USB port 1 (mini-AB port) on the DE4 is configured as a
device port to connect with a host computer. The NIOS II processor communicates with host
computer through USB Bulk Transfer with user-defined command sets. The USB device driver is
implemented in NIOS C code. From the host computer side, a test program is used to communicate
with DE4. The test program can configure LED status and poll button status through the USB
connection.
Nios II Software Architecture
The hardware system block diagram of this demonstration is the same as the USB Host.
Figure 5–7
shows the architectural layers of a NIOS II software stack of this demonstration.
Figure 5
–7 Software stack of the USB-Device demonstration
Summary of Contents for ALTERA DE4
Page 1: ...DE4 User Manual 1 www terasic com June 20 2018 ...
Page 54: ...DE4 User Manual 54 www terasic com June 20 2018 ...
Page 83: ...DE4 User Manual 83 www terasic com June 20 2018 Figure 3 8 Access DDR2 SO DIMM memory ...
Page 92: ...DE4 User Manual 92 www terasic com June 20 2018 Figure 3 17 Fan Control of the DE4 ...
Page 150: ...DE4 User Manual 150 www terasic com June 20 2018 Figure 5 35 SOPC builder ...