Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FreeRTOS with lwIP example

Purpose

This documents data structures, functions, variables, defines, enums, and typedefs in the software for the lwIP basic two-in-one web server and TFTP server demo (with DHCP) example.

The given example is an example using freeRTOS, the current lwIP stack and EMAC driver.

Requirements

This package can be used with SAM3X-EK and SAM4E-EK.

Description

The demonstration program create two applications. The web server will feedback the FreeRTOS kernel statistics and the tftp server allows the user to PUT and GET files.

Usage

  1. Build the program and download it inside the evaluation board. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. LED should start blinking on the board. In the terminal window, the following text should appear (values depend on the board and chip used):
    -- Freertos with lwIP Example xxx --
    -- xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --