Font Size: a A A

The Research Of Embedded TCP/IP Protocol Stack Based On μC/OS-ⅡOS

Posted on:2005-07-13Degree:MasterType:Thesis
Country:ChinaCandidate:W ZhangFull Text:PDF
GTID:2168360122989393Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Embeded network has been applied extensively. It is easy to understand and promot.In this atical, writer probes into the TCP/IP protocol and μC/OS-II operation system, and compile TCP/IP protocol stack with μC/OS-II OS. In this system's hardware, the main CPU is 51 micro-controller; ethernet card is RTL8019AS FROM TEALTEK SEMI-CONDUCTOR CO.,LTD.In the solution, the primary task is to make hardware system work smoothly, and micro-controller can handle data transfer in ethernet card. Then, transfer embedded OS into the micro-controller. Compile ARP, IP, UDP and TCP protocol by μC/OS-II OS. This solution makes the function of Server end in network into reality. There are three tasks in the protocol stacks: ethernet card reception, which can inquire whether the data arrived in destination or not; TCP-Server, which is set up TCP connection with client end; UDP-Server, which is set up UDP connection with client end. The task of TCP-Server's priority is the highest among these three tasks. The tasks can be switched via semaphore provided by μC/OS-II. Above mentioned ones is the normal process in the solution. For specific process, memory allocated parameter and data buffer should be defined per specific application.Above mention function and algorithm are completed with software compilation. It is easy to update algorithm and convenient to transfer because no change in hardware. This project shows the ROM and RAM space of hardware is enough for mini protocol stack.
Keywords/Search Tags:μC/OS-II operation system, TCP/IP protocol, 51 micro-controller, semaphore, ethernet reception, task scheduling, memory allocation, data buffer
PDF Full Text Request
Related items