AN2836 Freescale Semiconductor / Motorola, AN2836 Datasheet - Page 3

no-image

AN2836

Manufacturer Part Number
AN2836
Description
Web Server Development with MC9S12NE64 and OpenTCP
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Scope of This Application Note
This application note details the creation of a web server for an embedded device. The discussion will
provide an overview of development with the MC9S12NE64 and the OpenTCP TCP/IP stack. This
application note specifically addresses the following:
This document was created to help familiarize first-time users of the MC9S12NE64 and OpenTCP TCP/IP
stack with the development environment. This understanding will help speed initial MC9S12NE64 and
OpenTCP TCP/IP stack application development. To do this, a walk-through of developing an
open-source web server is provided. This also includes reviewing some basics of the OpenTCP API and
its Metrowerks CodeWarrior project organization. Network-specific acronyms and terms used in this
document are described in
Figure 2
host that requests a web page from an embedded device running an OpenTCP web server. The
embedded device is able to serve the requested information, which includes an ActiveX component, back
to the PC. In this example, the ActiveX component provides a dynamic web page interface to monitor and
manipulate the embedded device. The ActiveX establishes a UDP connection with the remote host in
order to exchange data on the network. Alternatively, a TCP connection could have been established for
data transfers.
Freescale Semiconductor
MC9S12NE64 microcontroller unit (MCU)
Axiom EVB9S12NE64 evaluation board
OpenTCP open-source TCP/IP stack
is a simplified diagram of the web server that will be developed. This diagram shows a PC remote
ANY WEB BROWSER
REMOTE HOST
Figure 2. Web Server Example TCP/IP Stack Application
Web Server Development with MC9S12NE64 and OpenTCP, Rev. 0
Table
1.
UDP CONNECTION
REQUESTS HTML
SERVES HTML
UDP-BASED APPLICATION
MC9S12NE64 EMBEDDED DEVICE
WEB SERVER
APPLICATION
OpenTCP
Scope of This Application Note
3

Related parts for AN2836