The InterNiche Nios II Demonstration software is an implementation of the NicheStack product for the Nios II Development Kit, Stratix II Edition. The user can evaluate TCP/IP stack performance of the Web server, Telnet, FTP, and TFTP components of the application.
The file Stratix_2s60.zip contains the following files:
readme.txt This file ext_flash.flash NicheStack demo (S-records) standard.flash NIOS II FPGA "Standard" configuration (S-records) program.sh Programming script file
The software was developed using the Nios II 6.1 IDE. It is assumed that this software is installed on the user's Host PC, and that the user is familiar with the Nios II software development process.
The "nios2-flash-programmer" and "nios2-terminal" utilities should be run from a Nios II 6.1 shell to insure a correct user environment.
The InterNiche Demonstration software includes the following components:
DHCP Client Web Server FTP Client and Server Telnet Server TFTP Client and Server
The software is fully functional, and has a execution limit of one hour. Users can log into the FTP server or Telnet server, with a username of "guest" and a password of "guest".
When the application is started, the DHCP client module will attempt to obtain an IP address from a DHCP server. If no DHCP server is available, the default IP address, 192.168.1.234, is used.
The Web server module can be accessed from a Web browser on the Host PC, using the URL: "http://xxx.xxx.xxx.xxx", where xxx.xxx.xxx.xxx is the IP address of the Nios II board. The application delivers web pages which demonstrate dynamic data monitoring and provide product information.
The FTP Server can be accessed from the Host PC. The application includes InterNiche's Virtual File System (VFS). The "ls" or "dir" command lists the VFS files. FTP data transfers can be observed using the files "mem512K", "mem1M", and "mem2M" as binary data sources, and the "null" file as a data sink. The "get <file>" command will transfer data to the FTP client, and the "put <file> null" command will transfer data to the "null" device on the FTP server. Both active and passive access is supported.
The Telnet Server gives users access to the NicheTool Command Line Interface. After logging in from a telnet client, users can enter commands to modify NicheStack parameters and view stack statistics. Type "help" at the "INET>" prompt from a list of available commands.
The TFTP module is an implementation of the Trivial File Transfer Protocol.
To run the InterNiche Demo:
Unzip the file, Stratix_2c35.zip, into a working directory on the Host PC.
Make sure the Nios II Development board is properly connected (JTAG and Ethernet cables) and powered on. Refer to the "Getting Started" document in the Nios II IDE distribution for additional information.
Before the board can be programmed, a valid system configuration must be loaded into the FPGA. The Quartus Programmer utility can be used to load the "standard.sof" or "full_featured.sof" file from the Nios II 6.1 IDE if necessary.
Start a Nios II 6.1 Shell application on the Host PC, and "cd" to the working directory used in Step 1.
Run the shell script, "./program.sh" to copy the FPGA configuration and InterNiche application files to the Flash memory. The shell command, "chmod +x program.sh", may be required to set the file permissions prior to running shell script.
Press the "CPU Reset" button on the development board to start the application software. The "nios2-terminal" utility can be run in the Nios II Shell window to access the NicheTool interface.
This site is no longer updated
and may contain out of date information