Font Size: a A A

Study On The Transplantation Of Operating System And Network Protocol Stack On 51 Serial Microcontrollers

Posted on:2005-05-10Degree:MasterType:Thesis
Country:ChinaCandidate:C HuangFull Text:PDF
GTID:2168360152468737Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Currently, 8051 serial microcontroller is broadly used in a variety of embedded systems. In general case, the application based on 8051 serial micro controller is in a single task execution mode. However, this working mode cannot deal with the situation that multiple tasks must be executed simultaneously. The solution is to add an OS layer between hardware and application. Depending on the scheduling ability of operating system, all tasks can get the time slice of CPU fairly, so every task will has acceptable speed of response. In the present business environment, a product with network functionality is more attractive. So an OS embedded with network protocol stack will be very useful.The target of transplantation is μC/OS-II and uIP. Both of them are open source.μC/OS-II is a small scale operating system. It has small code size, simple structure and sufficient functionalities. uIP stack is a lightweight implementation of TCP/IP stack. It has most of functionalities of TCP/IP and its occupation of memory is very small. All of these features are very fit for the 8051 platform which has just small amount of resource. During the process of the transplantation, the details of TCP/IP protocol and operating system were involved, especially the code of μC/OS-II and uIP. Through the modification of some code related to hardware in μC/OS-II and uIP, both of them run smoothly in 8051 environment. The development of transplantation uses Keil as IDE.The platform equipped with μC/OS-II and uIP stack becomes a developing platform. Programmers can use APIs and services of μC/OS-II. They can also use network functionalities for their application. By this way, it will decrease the occurrence of bugs in applications.
Keywords/Search Tags:Operating System, Network Protocol Stack, 8051 serial micro controller, PPP
PDF Full Text Request
Related items