Web Server Design Example

Recommended for:

  • Device: Stratix® I

  • Device: Stratix® II

author-image

By

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 Intel® 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 Intel® Design Example 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