AN2836 Freescale Semiconductor / Motorola, AN2836 Datasheet - Page 27

no-image

AN2836

Manufacturer Part Number
AN2836
Description
Web Server Development with MC9S12NE64 and OpenTCP
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
PAGE_3C
PAGE_3D
END
PLACEMENT
END
STACKTOP 0x3FFF
Demo.htm
The HTML source code for demo.htm is provided in this section. HTML web page development can be
assisted with web tools, such as FrontPage by Microsoft, but it is not required. A simple text editor could
be used, for example. Web pages can contain standard and advanced HTML components including, but
not limited to:
When the web page development is completed, the next step is to convert them to their equivalent C files
representation using OpenTCP’s CEncoderBeta utility. In this case, the C files for demo.htm are demo.c
and demo.h . Both of these files must be added to OpenTCP CodeWarrior project and detailed in the
OpenTCP file system (see the
The source code below is standard HTML. The portion of the code that embeds the ActiveX component
on the web page is the following:
<object ID="UserControlPanel" CLASSID="CLSID:956FC15B-5D58-4F1D-95CC-242020FA9175"
CODEBASE="NE64DemoNOPIC.CAB#version=1,0,0,0">
<param name="_ExtentX" value="10266">
<param name="_ExtentY" value="14340">
</object>
This object shows the ActiveX component is provided in a cabinet file, NE64DemoNOPIC.CAB . Cabinet
files are used to package ActiveX controls for faster downloading over the internet by reducing the ActiveX
file size footprint using data-compression technology. The cabinet file also includes a “inf” file to automate
the ActiveX component file installation and registration in the client machine’s registry.
Freescale Semiconductor
_PRESTART,
STARTUP,
ROM_VAR,
NON_BANKED,
COPY
DEFAULT_ROM
DEFAULT_RAM
Frames
Tables
Forms
Javascript or VBscript
Applets, ActiveX, etc.
STRINGS,
MyConstSegPage1,
= READ_ONLY
= READ_ONLY
Web Server Development with MC9S12NE64 and OpenTCP, Rev. 0
0x3C8000 TO 0x3CBFFF;
0x3D8000 TO 0x3DBFFF;
FileSys.c
/* Used in HIWARE format: jump to _Startup at the code start */
/* startup data structures */
/* constant variables */
/* runtime routines which must not be banked */
/* copy down information: how to initialize variables */
INTO
INTO
INTO
section).
/* string literals */
ROM_4000,ROM_C000;
RAM;
PAGE_3C,PAGE_3D;
Overview of a Web Server Developed Using OpenTCP TCP/IP Stack
27

Related parts for AN2836