MAX 10 Plus User
Manual
68
May 31, 2019
6.5
Ethernet Socket server
This design example demonstrates a socket server using the sockets interface of the NicheStack™
TCP/IP Stack Nios II Edition with MicroC/OS-II to serve socket connection to the MAX 10 Plus
board. The server can continuously listen for commands on a TCP/IP port and operate the MAX 10
Plus LEDs according to the commands from the telnet client.
As Part of the Nios II EDS, NicheStack™ TCP/IP Network Stack is a complete networking
software suite designed to provide an optimal solution for network related applications
accompanying Nios II.
Also to understand how this demo works, we assume that you already have a basic knowledge of
TCP/IP protocols. As indicated in the block diagram in
, the Nios II processor is used to
communicate with the Client via 88E1111(RGMII/MII interface)Ethernet Device.
Figure 6-18 Block Diagram
We will now cover the Qsys system in this demo which contains Nios II processor, DDR3 memory,
JTAG UART, timer, Triple-Speed Ethernet, Scatter-Gather DMA controller and other peripherals
etc. In the Core Configuration Tab of the Altera Triple-Speed Ethernet Controller, users need to set
the MAC interface as RGMII as shown in