Specifications
Chapter 1: Using the NicheStack TCP/IP Stack 1–13
Software Development Flow
June 2011 Altera Corporation Using the NicheStack TCP/IP Stack - Nios II Edition Tutorial
1 If the Run Configurations dialog box appears, click the Target Connection
tab. Then click Refresh Connections and Apply until a board connection
establishes. After the board connection is established, click Run.
The build process takes several minutes. After the build process completes, the Nios II
SBT for Eclipse downloads the executable program to your development board.
f For additional information about using the Nios II SBT for Eclipse to build projects,
set up run configurations, and download programs to the board, refer to the Getting
Started with the Graphical User Interface chapter of the Nios II Software Developer’s
Handbook.
Interacting with the Nios II Simple Socket Server
After the program downloads to your development board, an LED starts blinking on
your board. Table 1–1 identifies the LED that blinks on each development kit board.
The Nios II Console view displays a message with the default IP address as
configured in niosII_simple_socket_server.h. If DHCP is enabled, the DHCP
server-supplied IP address displays a message that indicates the DHCP client for the
Ethernet interface acquires a DHCP IP address.
The message “Nios II Simple Socket Server starting up” displays when the
NicheStack TCP/IP Stack is ready to accept commands.
After the NicheStack TCP/IP Stack is ready, you can start a telnet session to interact
with the stack. To start a telnet session, follow these steps:
1. From your operating system, open a command shell.
1 On Windows, you can also use Run on the Start menu.
2. Type the following command, specifying either the static IP address or the DHCP
server-provided IP address:
telnet <IP address> 30
r
Table 1–1. Blinking LED Identification
Kit LED
ESDK, Cyclone III Edition LED0
NEEK, Cyclone III Edition LED1 (on back)
Stratix IV GX FPGA Development Kit D23