SAMV71 Xplained Ultra Software Package 1.5

GMAC uIP Web Server Example

Purpose

This project implements a webserver example of the uIP TCP/IP stack. It enables the device to act as a web server, displaying network information through an HTML browser.

Requirements

This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board.

Description

Please refer to the uIP documentation for more information about the TCP/IP stack, the webserver example.

By default, the example does not use DHCP. If you want to use DHCP, please:

Usage

  1. Build the program and download it inside the board. Please refer to the Getting Started with SAM V71/E70 Microcontrollers.pdf
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 baud rate
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Connect an Ethernet cable between the evaluation board and the network. The board may be connected directly to a computer; in this case, make sure to use a cross/twisted wired cable such as the one provided with the evaluation kit.
  4. Start the application. It will display the following message on the terminal:
        -- GMAC uIP Web Server Example xxx --
        -- xxxxxx-xx
        -- Compiled: xxx xx xxxx xx:xx:xx --
        - MAC 3a:1f:34:08:54:05
        - Host IP 10.217.12.223
        - Router IP 10.217.12.1
        - Net Mask 255.255.255.0
    

Type the IP address (Host IP in the debug log) of the device in a web browser:

    http://10.217.12.223

The page generated by uIP will appear in the browser.

Note:
Make sure the IP address of the device(EK board) and the computer are in the same network.

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines