MDK-ARM Keil, MDK-ARM Datasheet - Page 78

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
78
Web Server Content
The content held in the web server can be any file type that can be displayed by a
web browser. This will be hypertext markup language (HTML), which may also
contain images held in any common format such as PNG, GIF, and JPEG, sound
in WAV or MP3 formats, and active content such as Java script libraries. You
are limited only by the amount of storage space available to your microcontroller.
Since this will be quite small compared to a full-scale web server, you should be
careful about which tool you use to generate the HTML script. Tools such as
Dreamweaver or FrontPage are likely to generate complex scripts that will be too
large to store on a small microcontroller. If you are not familiar with HTML,
there are many free tutorials available on the internet. You will also need a
simple HTML editor so that you can design minimal HTML pages. Some
suitable resources are listed in the bibliography section at the end of this book.
Adding Web Pages
Once RL-TCPnet is configured and running on the network, we can start to add
some content to the web server. Generally, this takes the form of HTML pages.
You may start with a simple HTML script like the one below.
<html>
</html>
RL-TCPnet allows you to store the HTML pages in two different ways. You can
convert the HTML into C arrays, which are then stored as part of the application
code in the microcontroller program Flash. This is ideal if you want a very small
web server that runs on a single chip microcontroller. The second method stores
the HTML as files in the RL-Flash file system. This method has the advantage
that you can upload new HTML web pages using the TFTP server, but it also has
a larger code-size footprint.
<head>
<title>
</head>
<body>
</body>
<embed src="sound.wav" autostart="true" hidden="true">
<p>First Emdedded Web Server</p>
<p><img src="Keil_logo.gif">
<embed src="sound.wav" autostart="true" hidden="true"></p>
HTML Example
</title>
Chapter 4. RL-TCPnet Introduction

Related parts for MDK-ARM