HTTP/1.1 200 OK
Server: EMG/1.1.0
Cache-control: no-cache
HTTP Server By Eric Gregori Version 1.1.0
Content-type: text/html
Content-length: 34387

<html>
<head>
<title>LOADED AT RUNTIME</title>
</head>
<body>
<IMG SRC="CFCORESEMBLEM.gif">
<u><span
style='font-size:16.0pt;color:red'>Dynamic HTTP server with simple Flash File
System - Loaded at RUNTIME</span></u><!--[if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75"
 style='width:2in;height:147.75pt'>
<IMG SRC="CFCORESEMBLEM.gif">
</span></u></p>
<a href="vardump.htm">Click Here for VARDUMP</a>
<p class=MsoNormal style='margin-top:0in;margin-right:94.5pt;margin-bottom:
0in;margin-left:2.5in;margin-bottom:.0001pt;text-indent:.5in'><span
style='font-size:16.0pt;color:blue'>Written By Eric <span class=SpellE>Gregori</span></span><span
style='font-size:16.0pt'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-tab-count:1'>            </span>The dynamic HTTP server with simple
flash file system is <span class=GramE>a</span> application written for the <span
class=SpellE>Interniche</span> <span class=SpellE>lite</span> TCP/IP
stack.<span style='mso-spacerun:yes'>  </span>This version also takes advantage
of the <span class=SpellE>Interniche</span> Real Time Operating System.<span
style='mso-spacerun:yes'>  </span>The server executes as a task, and <b
style='mso-bidi-font-weight:normal'>supports multiple sessions.</b><span
style='mso-spacerun:yes'>  </span>The server supports two separate file
systems:<span style='mso-spacerun:yes'>  </span>the <b style='mso-bidi-font-weight:
normal'>static file system</b> uses a custom PC utility to convert web pages
and binaries <span class=GramE>( jpeg</span>, wav, <span class=SpellE>swf</span>,
… ) files into a C array for being compiled into the build.<span
style='mso-spacerun:yes'>  </span>The <b style='mso-bidi-font-weight:normal'>dynamic
file system</b> uses a custom PC utility to convert the web pages and binaries
into a compressed image.<span style='mso-spacerun:yes'>  </span>A custom PC
download utility is then used to download the compressed image into the flash
of the target system.<span style='mso-spacerun:yes'>  </span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>The dynamic file system allows the user to
build and download web pages without the use of a compiler, from a remote
location. <o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-tab-count:1'>            </span>HTTP stands for <span class=SpellE>HyperText</span>
Transfer Protocol.<span style='mso-spacerun:yes'>  </span>This server has been
written per RFC 2616 <span class=GramE>( HTTP</span>/1.1).<span
style='mso-spacerun:yes'>  </span>It is in no way guaranteed to be 100%
compliant.<span style='mso-spacerun:yes'>  </span>The dynamic feature of the
server is a custom method of dealing with dynamic content within the context of
HTML.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph;
text-indent:.5in'>HTML stands Hypertext Markup Language.<span
style='mso-spacerun:yes'>  </span>HTML is the language used to describe a web
page.<span style='mso-spacerun:yes'>  </span>The purpose of a HTTP server is to
transfer HTML pages <span class=GramE>( web</span> pages ) from the server to
the client ( Internet Explorer, Netscape, <span class=SpellE>Firefox</span>
).<span style='mso-spacerun:yes'>  </span>Standard HTML is static, and does not
support dynamic content <span class=GramE>(<span style='mso-spacerun:yes'> 
</span>sensor</span> values, real-time data, system variables ).<span
style='mso-spacerun:yes'>  </span>This is a problem for embedded systems.<span
style='mso-spacerun:yes'>  </span>A solution to this problem is to <b
style='mso-bidi-font-weight:normal'>embed tags in the HTML that are replaced
with the dynamic data</b>.<span style='mso-spacerun:yes'>  </span>This is the
solution chosen for this implementation.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-tab-count:1'>            </span>The server supports a variable
array.<span style='mso-spacerun:yes'>  </span>Each entry in the array is 32
bits <span class=GramE>( long</span> word ) the depth of the array is user
configurable at build time.<span style='mso-spacerun:yes'>  </span>The array is
updated when a web page containing dynamic tags is requested.<span
style='mso-spacerun:yes'>  </span>The user chooses what data goes into the
array at compile time.<span style='mso-spacerun:yes'>  </span>For instance, the
user may choose to put A/D channels 0 through 8 into array positions 0 through
8.<span style='mso-spacerun:yes'>  </span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-tab-count:1'>            </span>Each tag is followed by <span
class=GramE>a</span> index.<span style='mso-spacerun:yes'>  </span>The index
chooses which variable in the array will replace the token when the HTML is
actually sent to the client.<span style='mso-spacerun:yes'>  </span><b
style='mso-bidi-font-weight:normal'>There are two types of tokens, replacement tokens
and conditional replacement tokens.</b><span style='mso-spacerun:yes'> 
</span>Replacement tokens ‘&#126’ are always replaced with either the data in the
variable indexed, or a dash mark to indicate the variable is not up to
date.<span style='mso-spacerun:yes'>  </span>Conditional tokens ‘&#94’ are used
for string replacement based on the result of the conditional compare and a
constant.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span></span><span
lang=PT-BR style='color:blue;mso-ansi-language:PT-BR'>// Process sensor data
request <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
lang=PT-BR style='color:blue;mso-ansi-language:PT-BR'><span style='mso-tab-count:
2'>                        </span>// &#126IIF;<span style='mso-spacerun:yes'> 
</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
lang=PT-BR style='color:blue;mso-ansi-language:PT-BR'><span style='mso-tab-count:
2'>                        </span></span><span style='color:blue'>// where <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:1'>                        </span>//<span
style='mso-tab-count:1'>                      </span>I<span
style='mso-spacerun:yes'>  </span><span style='mso-tab-count:1'>         </span>=
Variable Index<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:1'>                        </span>//<span
style='mso-tab-count:1'>                      </span>F<span style='mso-tab-count:
1'>          </span>= Format <span class=GramE>( H</span>=hex, D=decimal )<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>Replacement token example:<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>&lt;HTML&gt;
&#126 00D; &lt;/HTML&gt;</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
server will replace the characters &#126 00D; with the decimal value in variable 00.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//
Process conditional sensor read<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//
&#94II&gt;<span class=SpellE>C|true||false</span>|;<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//
where<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>I<span
style='mso-spacerun:yes'>  </span><span style='mso-tab-count:1'>         </span><span
style='mso-spacerun:yes'> </span>= Variable Index<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>C<span
style='mso-spacerun:yes'>   </span><span style='mso-tab-count:1'>      </span>=
hex value for comparison<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>&gt;<span
style='mso-spacerun:yes'>   </span><span style='mso-tab-count:1'>       </span>=
variable value greater then C<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>=<span
style='mso-spacerun:yes'>   </span><span style='mso-tab-count:1'>       </span>=
variable value equal to C<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>&amp;<span
style='mso-tab-count:1'>         </span>= variable value and C<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>!<span style='mso-tab-count:
1'>           </span><span class=GramE>= !</span>variable value and C<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>&quot;true<span
class=GramE>&quot;<span style='mso-spacerun:yes'>  </span>=</span> <span
class=SpellE>ascii</span> string to replace if true<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:blue'><span style='mso-tab-count:2'>                        </span>//<span
style='mso-tab-count:2'>                      </span>&quot;false&quot; = <span
class=SpellE><span class=GramE>ascii</span></span> string to replace if false<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='color:#3366FF'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>Conditional token example:<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>&lt;HTML&gt;
&#94 00&amp;01| replacement string if true | replacement string when false |;
&lt;/HTML&gt;</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
server will replace the whole conditional statement with the true string if the
variable 00 and 0x01 is true, else the false string will be used to replace the
conditional statement.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Conditional
statements can be equal, greater than, bit and, or not equal. <span
style='mso-spacerun:yes'>  </span>The constant can be any value from 0 to
0xFFFFFFFF.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-tab-count:1'>            </span>There are two ways to get web pages
into the target system.<span style='mso-spacerun:yes'>  </span>The user can
compile the web pages into the target system using a custom PC utility that converts
web pages and binaries into a C <span class=SpellE>compatable</span> format, or
the user can load the web pages and binaries into the target system remotely (
over Ethernet ) after compressing them using another custom PC utility.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>D:\home_automation\emg_kirin2e_release1\release1\static_web_page_example&gt;emg_static_ffs<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Static Flash File System Generator (Rev<span
class=GramE>:0.3</span>)<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><span style='mso-spacerun:yes'>        </span>Written
by Eric <span class=SpellE>Gregori</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Correct format:<span style='mso-spacerun:yes'> 
</span>&lt;input filename&gt; &lt;output filename&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Where input filename = file containing list of
filenames<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Where output filename = generated filename<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
input file list contains the list of files to be included in the static file
system.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
output file is of type *.c, and is built into the target system at compile
time.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>D:\home_automation\emg_kirin2e_release1\release1\dynamic_web_page_example&gt;emg_dynamic_ffs<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Dynamic Flash File System Generator, Revision 2.0<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><span style='mso-spacerun:yes'>        </span>Written
by Eric <span class=SpellE>Gregori</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Correct format:<span style='mso-spacerun:yes'> 
</span>&lt;input filename&gt; &lt;output filename&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Where input filename = file containing list of
filenames<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Where output filename = generated filename<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
input file list contains the list of files to be included in the static file
system.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
output file is a compressed binary that is downloaded via Ethernet using the <span
class=SpellE>uploader</span> utility described below.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>D:\home_automation\emg_kirin2e_release1\release1\dynamic_web_page_example&gt;emg_web_uploader<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Web page / Firmware <span class=SpellE>Uploader</span>
for EMG HTTP server<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><span style='mso-spacerun:yes'>   </span>Written by
Eric <span class=SpellE>Gregori</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Usage: <span class=SpellE>emg_https_uploader</span>
&lt;<span class=SpellE>ip</span> address&gt; &lt;filename&gt; &lt;key&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'>Where: <span class=SpellE>ip</span> address = <span
class=SpellE>ip</span> address of http server<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><span style='mso-spacerun:yes'>        </span><span
class=GramE>filename</span> = filename of data to upload ( .<span class=SpellE>egw</span>
or .<span class=SpellE>egf</span> )<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='font-size:10.0pt'><span style='mso-spacerun:yes'>        </span><span
class=GramE>key</span><span style='mso-spacerun:yes'>      </span>= key string
to unlock flash on target<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
filename is the name of the file to download to the target.<span
style='mso-spacerun:yes'>  </span>This file is generated with the dynamic flash
file utility described above.</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>The
key is a user defined string that is required to gain access to the target
flash.<span style='mso-spacerun:yes'>  </span>The target will only accept the
upload if the key string matches the user defined key string in the
target.<span style='mso-spacerun:yes'>  </span>The key string can be up to 32
characters in length <span class=GramE>( both</span> upper and lower case
).<span style='mso-spacerun:yes'>  </span>This provides 52 &#94 32 possible
combinations. </p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>Sample List of Files<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>* <span
class=SpellE><span class=GramE>emg</span></span> static web page description
file<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>*
The files listed below will be <span class=SpellE>concantenated</span> into a <o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>* <span
class=GramE>single</span> C <span class=SpellE>compatable</span> file.<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>readme.htm<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=SpellE>CFCORESEMBLEM.gif</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>Sample Static Build<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>D:\home_automation\emg_kirin2e_release1\release1\static_web_page_example&gt;emg_static_ffs
filelist.txt <span class=SpellE>emg_static_ffs.c</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Static
Flash File System Generator (Rev<span class=GramE>:0.3</span>)<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-spacerun:yes'>        </span>Written by Eric <span class=SpellE>Gregori</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: readme.htm<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: <span class=SpellE>CFCORESEMBLEM.gif</span></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>Sample Dynamic Build<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>filelist.txt</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>* <span
class=SpellE><span class=GramE>emg</span></span> dynamic web page description
file<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>*
The files listed below will be <span class=SpellE>concantenated</span> into a <o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>* <span
class=GramE>single</span> compressed downloadable image.<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>*
The first file in the list is the default file<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>home_page.htm<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=SpellE>block_diagram.jpg</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=SpellE>evb_board.jpg</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=SpellE>uart.jpg</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>under_construction.htm</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>D:\home_automation\emg_kirin2e_release1\release1\dynamic_web_page_example&gt;emg_dynamic_ffs
filelist.txt <span class=SpellE>dynamic.ffs</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Dynamic
Flash File System Generator, Revision 2.0<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-spacerun:yes'>        </span>Written by Eric <span class=SpellE>Gregori</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>header</span> size = 153<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: home_page.htm file size = 1700<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>header</span> size = 155<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: <span class=SpellE>block_diagram.jpg</span>
file size = 52979<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>header</span> size = 155<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: <span class=SpellE>evb_board.jpg</span> file
size = 64308<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>header</span> size = 154<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: <span class=SpellE>uart.jpg</span> file size =
8531<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>header</span> size = 152<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>reading</span> file: under_construction.htm file size = 303<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>filename</span> header length = 0x50<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>copying</span> file: <span class=SpellE>home_page_htm.htp</span> to
output<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>copying</span> file: <span class=SpellE>block_diagram_jpg.htp</span>
to output<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>copying</span> file: <span class=SpellE>evb_board_jpg.htp</span> to
output<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>copying</span> file: <span class=SpellE>uart_jpg.htp</span> to
output<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
class=GramE>copying</span> file: <span class=SpellE>under_construction_htm.htp</span>
to output</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><b
style='mso-bidi-font-weight:normal'>Sample Download<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>D:\home_automation\emg_kirin2e_release1\release1\dynamic_web_page_example&gt;emg_web_uploader
192.168.1.99 <span class=SpellE>dynamic.ffs</span> <span class=SpellE><span
class=GramE>joshua</span></span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Web
page / Firmware <span class=SpellE>Uploader</span> for EMG HTTP server<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><span
style='mso-spacerun:yes'>   </span>Written by Eric <span class=SpellE>Gregori</span><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Sending
Erase Command<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Sending
Unlock Key<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Waiting
for Erase ACK<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x24000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x28000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x2C000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x30000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x34000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x38000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x3C000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erasing
Flash 0x40000 block address<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Erase
Complete<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Sending
File <span class=SpellE>dynamic.ffs</span> to 192.168.1.99<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>128762
bytes sent<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>128764
bytes successfully sent<o:p></o:p></p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'>Transmission
Complete</p>

<p class=MsoNormal style='text-align:justify;text-justify:inter-ideograph'><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>
