Font Size: a A A

The Research And Implementation Of Real-time Operating System Based On DSP

Posted on:2007-09-01Degree:MasterType:Thesis
Country:ChinaCandidate:H L MaFull Text:PDF
GTID:2178360215970294Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the complication and intellectualization of embedded network system based on Digital Signal Processor(DSP),software in DSP system is more and more important. As a software kernel of the embedded system,the embedded real-time operating system (RTOS)is essential to coordinate and use system resource availably and provide good man-machine interfaces for users.Morever,for the purpose of breaking overseas monopoly in the domain of embedded operating system(EOS),it is imperative to implement a RTOS with self-intellectual property rights.However,in this paper,only was the kernel of RTOS with network protocol implemented on DSP platform.In this pager,the architecture of webvideo based on TI Corporation's DSP platform TMS320C6711 is designed,including memory system,video and audio system, network controller.Subsequently,the kernel of RTOS is determined according to the hardware system and applications.And then the software architecture of the RTOS based on DSP is designed,the modules of the RTOS based on DSP is created,the RTOS kernel module and TCP/IP protocol is implemented.The implementation of the RTOS kernel module contains two proportions.First, transplantμC/OS-Ⅱkernel to the TI's TMS320C6711 platform,including translating theμC/OS-Ⅱdata structures for compiler,designing DSP hardware interface of the operating system and hardware abstraction layer(HAL)and optimizing the code, morever,the solution of parallelizable stack is found after the CPU and optimization research.Second,better the task scheduling forμC/OS-Ⅱso that the real-time operating system has time-sharing scheduling,and the OS can be fit for more applications,e.g.TCP/IP applications.The TCP/IP protocol module makes an embedded TCP/IP protocol(LwIP)stack forμC/OS-Ⅱ,it contains two proportions.First,design and implement an operating system emulation layer for LwIP,including translating data structures,designing and realizing the emulations related to TCP/IP threads and interface related to timeouts. Second,implement driver of the network controller for the LwIP,and therefore the interrupt service routine,data reception and data transmission of network controller is given.Consequently,a network environment based on real-time operating system is built.Finally,a secondary DSP bootloader is implemented and system test is performed. We test parallelizable stack,new task schedule policy and the performance ofμC/OS-Ⅱkernel,Furthermore,a simple HTTP/1.0 server based on the RTOS is tested successfully.The test result proves that the solutions are correct and the RTOS has good performance.
Keywords/Search Tags:DSP, RTOS, μC/OS-II, LwIP, TCP/IP Protocol Stack, Embedded Operating System
PDF Full Text Request
Related items