Specifications

June 2011 Altera Corporation Using the NicheStack TCP/IP Stack - Nios II Edition Tutorial
A. Hardware Setup Details
Introduction
To complete this tutorial, you must have the Nios II SBT for Eclipse installed, and
your Altera development board must be connected to a host PC on both the Ethernet
and USB/JTAG ports.
f For information about download cables and drivers, refer to the Download Cables
page of the Altera website.
The Nios II Ethernet Standard hardware design examples for Altera development
boards include the Ethernet device required by this NicheStack tutorial. The Ethernet
device included in these design examples, along with the physical MAC/PHY on
your Altera development boards, is the Altera Triple Speed Ethernet MAC peripheral.
The Ethernet peripheral base address settings for the design examples are defined in
system.h.
Network Connection
If you are using a DHCP server to assign IP addresses, connect your Altera
development board to your Ethernet network.
If the Altera development board is connected directly to your PC with a crossover
Ethernet cable, or a DHCP server is not available, specify the IP addresses manually in
niosII_simple_socket_server.h.
The default IP addresses in niosII_simple_socket_server.h are set to all zeros so the
DHCP server packets can pass through secure routers. If you are not using a DHCP
server, specify valid static addresses, such as an IP address of 192.168.1.234, with a
gateway of 192.168.1.1 and a subnet mask of 255.255.255.0.
1 Be sure to turn the enable_dhcp_client setting on or off accordingly on the Software
Packages tab of the BSP Editor. For details, refer to “Configuring the BSP” on
page 1–7.