SEARCH
TOOLBOX
LANGUAGES
modified on 10 April 2012 at 15:38 ••• 4,618 views

Lincoln emac easyweb Example

From Manuals

Revision as of 15:38, 10 April 2012 by Support (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Compatibility Lincoln 60E

Simple Web Server Application for Ethernet Demo.

This example application demonstrates the operation of the LPC1769 MAC and the Micrel KSZ8041NL PHY using a tiny web server. The web page shows the values of two analog inputs (AN0 and AN1). This tiny webserver needs very little resources and therefore has some restrictions:

  • - only one active TCP session at any one time
  • - no support for fragmented IP datagrams
  • - no buffer for TCP datagrams received in wrong order
  • - only one web page. No GIF/JPG graphics possible.

The IP address can be modified in the module tcpip.h to fit into your existing LAN (see MYIP_x). The default IP address is: 192.168.1.100. The first UART, which is connected to the COM1 on the Lincoln microcontroller board, is configured for 115,200 bits per second, and 8-n-1 mode. When the program is started a message will be printed to the terminal.