This design example shows an HTTP server using the sockets interface of the NicheStack TCP/IP Stack-Nios® II Edition on MicroC/OS-II to serve web content from the Nios II development board. The server can process basic requests to serve HTML, JPEG, and GIF files from the Altera® read-only .zip file system or File Allocation Table (FAT) file system. Additionally, it demonstrates remote configuration over Ethernet to allow you to change the hardware and software configuration of the FPGA. It also allows you to control various board elements from the web page.

Board and Host Set-Up

This example requires an Ethernet cable connected to the development board's RJ-45 jack and a JTAG connection with the development board. See the readme.txt file in the web server example directory for detailed instructions.

Using This Design Example

You can run this software design example on the following Nios II development boards:

Nios II Embedded Evaluation Kit, Cyclone® III Edition

The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.

Nios II Development Board, Cyclone and Cyclone II Editions

The Web Server software template is provided with the free evaluation version of Nios II Embedded Design Suite and runs on the following hardware design examples:

  • Standard Design Example
  • Full-Featured Design Example

Nios II Development Board, Stratix® and Stratix II Editions

The Web Server software template is provided with the free evaluation version of Nios II Embedded Design Suite and runs on the following hardware design examples:

  • Standard Design Example
  • Full-Featured Design Example

Related Links

Design Examples Disclaimer

These design examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.