OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [lwIP_AVR32_UC3/] [readme.html] - Blame information for rev 613

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 583 jeremybenn
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
2
<html>
3
   <head>
4
      <link rel="stylesheet" type="text/css" href="../../../../.docsrc/AVR32_ns.css">
5
   </head>
6
   <body>
7
<p align="left" class="whs2"><a href="../../../AVR32_SERVICES_Readme.html"<font color="red"></font>Back to the SERVICES main page</a></p>
8
<h1 align="center" class="whs1">AVR&reg;32 AT32UC3 Series Software Framework: Basic Web server and TFTP server example.<br>
9
</h1>
10
 
11
<p align="center" class="whs2">Copyright &copy; 2007 Atmel Corporation</p>
12
 
13
<h2>Introduction</h2>
14
    <p>This example implements a basic Web server and a basic TFTP server.
15
    It is running on top of the <a href="http://savannah.nongnu.org/projects/lwip"<font color="red"></font>lwIP TCP/IP stack</a> and the AVR32 UC3 <a href="http://freertos.org"<font color="red"></font>freeRTOS.org</a> port.</p>
16
    <p>This example thus contains a port of the <a href="http://savannah.nongnu.org/projects/lwip"<font color="red"></font>lwIP TCP/IP stack</a>. This port is using both the AVR32 UC3 <a href="http://freertos.org"<font color="red"></font>freeRTOS.org</a> port and the AVR32 UC3A MACB interface for the Ethernet access.</p>
17
 
18
<p>&nbsp;</p>
19
 
20
<h2>lwIP TCP/IP stack</h2>
21
    <p>lwIP is an implementation of the TCP/IP protocol suite. The focus of the lwIP TCP/IP implementation is to reduce resource usage while still having a full scale TCP.</p>
22
    <DT><B><u>lwIP features</u>:</B>
23
    <DD><p class="whs3"><li>IP (Internet Protocol) including packet forwarding over multiple network interfaces</p></li>
24
    <DD><p class="whs3"><li>ICMP (Internet Control Message Protocol) for network maintenance and debugging</p></li>
25
    <DD><p class="whs3"><li>UDP (User Datagram Protocol) including experimental UDP-lite extensions</p></li>
26
    <DD><p class="whs3"><li>TCP (Transmission Control Protocol) with congestion control, RTT estimation and fast recovery/fast retransmit</p></li>
27
    <DD><p class="whs3"><li>Specialized raw API for enhanced performance</p></li>
28
    <DD><p class="whs3"><li>Optional Berkeley-alike socket API</p></li>
29
    <DD><p class="whs3"><li>DHCP (Dynamic Host Configuration Protocol)</p></li>
30
    <DD><p class="whs3"><li>PPP (Point-to-Point Protocol)</p></li>
31
    <DD><p class="whs3"><li>ARP (Address Resolution Protocol) for Ethernet</p></li>
32
<p>lwIP is freely available (under a BSD-style license) in C source code format and can be downloaded from the <a href="http://savannah.nongnu.org/projects/lwip"<font color="red"></font>development homepage</a>.</p>
33
<p>&nbsp;</p>
34
 
35
<h2>The Basic Web server</h2>
36
    <p>Implements a simplistic WEB server. To use this demo part, define HTTP_USED to 1, else define to 0. (default is 1)</p>
37
    <B><u>Demo description</u>:</B> Every time a connection is made and data is received, a dynamic page that shows the current FreeRTOS.org kernel statistics is generated and returned. The connection is then closed.</p>
38
    <B><u>Note</u>:</B> The WEB server is reachable at the IP address 192.168.0.2.
39
 
40
<p>&nbsp;</p>
41
 
42
<h2>The Basic TFTP server</h2>
43
    <p>Implements a simplistic TFTP server. To use this demo part, define TFTP_USED to 1, else define to 0. (default is 1)</p>
44
    <DT><B><u>Demo description</u>:</B>
45
    <DD><p class="whs3"><li>To put a file onto the TFTP server (Supported file size < 2048 bytes), on a PC command line type <i><b>tftp 192.168.0.2 PUT "a_file"</i></b>: this will copy <i>a_file</i> from your hard drive to a RAM buffer of the demo.</p></li>
46
    <DD><p class="whs3"><li>To get a file from the TFTP server, on a PC command line type <i><b>tftp 192.168.0.2 GET "a_file"</i></b>: this will copy <i>a_file</i> from the RAM buffer of the application to the PC's hard drive.</p></li>
47
    <B><u>Note 1</u>:</B> only one file at a time is supported on this TFTP server. This is because the TFTP server being a simplistic example, it does not use a file system to store files but a predefined RAM area of 2048 Bytes.
48
    <p><B><u>Note 2</u>:</B> The TFTP server is reachable at the IP address 192.168.0.2.</p>
49
 
50
<p>&nbsp;</p>
51
 
52
<h2>The Basic SMTP client</h2>
53
    <p>Implements a simplistic SMTP client. To use this demo part, define SMTP_USED to 1, else define to 0. (default is 0)</p>
54
    <DT><B><u>Demo description</u>:</B>
55
    <DD><p class="whs3"><li>Prior to compile and run the SMTP client, you will have to configure the connection settings :
56
    <DD><DD><li>Server address : default is <i>192.168.0.1</i>.</li>
57
    <DD><DD><li>Server name : used in the EHLO field, default is <i>smtp.domain.com</i>.</li>
58
    <DD><DD><li>Mail sender : used in the mailfrom field, default is <i>sender@domain.com</i>.</li>
59
    <DD><DD><li>Mail recipient : used in the mailto field, default is <i>receiver@domain.com</i>.</li>
60
    <DD><DD><li>Mail content : default is <i>Subject: *** SPAM ***\r\nFROM: \"Your Name here\" <sender@domain.com>\r\nTO: \"Your Contact here\" <receiver@domain.com>\r\n\r\nSay what you want here</i>.</li>
61
    </p></li>
62
    <DD><p class="whs3"><li>Once all fields are configured, remove the <i>#error</i> lines to allow compilation.</p></li>
63
    <DD><p class="whs3"><li>Run the software and press Push Button 0 to send an email.</p></li>
64
 
65
<p>&nbsp;</p>
66
 
67
<h2>Device Info</h2>
68
    All AVR32 UC3A devices with a MACB module can be used. This example has been tested with the following setup(s):
69
    <DD><p class="whs3"><li type="disc">AT32UC3A0512 on the EVK1100 evaluation kit.</li></p>
70
 
71
<p>&nbsp;</p>
72
 
73
 
74
<hr align="center" width="50%" class="whs4">
75
 
76
    <p class=legalfooter>AVR is a registered trademark of
77
    Atmel Corporation.</p>
78
 
79
   </body>
80
</html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.