嵌入式系统是一种将底层硬件、实时操作系统和应用软件相结合的专用计算机系统,网络化是嵌入式系统的主要趋势之一。本文以Sam sung S3C 44BOX芯片为核心的ARM开发板作为硬件平台,以μC/O S II实时操作系统作为软件平台,针对μC/O S II...嵌入式系统是一种将底层硬件、实时操作系统和应用软件相结合的专用计算机系统,网络化是嵌入式系统的主要趋势之一。本文以Sam sung S3C 44BOX芯片为核心的ARM开发板作为硬件平台,以μC/O S II实时操作系统作为软件平台,针对μC/O S II内核中不支持TCP/IP协议栈,无法适应嵌入式设备网络化需要的问题,本文首先对标准的TCP/IP协议栈进行了分析,然后提出了简化实现一个基于ARM和μC/O S II的嵌入式TCP/IP协议栈方案。展开更多
μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is propos...μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is proposed. The basic idea is adding round-robin scheduling strategy in its original scheduler in order to schedule homology priority tasks through time slice roundrobin. Implementation approach is given in detail. Firstly, the Task Control Block (TCB) is extended. And then, a new priority index table is created, in which each index pointer points to a set of homology priority tasks. Eventually, on the basis of reconstructing μC/OS-Ⅱ real-time kernel, task scheduling module is rewritten. Otherwise, schedulability of homology task supported by modified kernel had been analyzed, and deadline formula of created homology tasks is given. By theoretical analysis and experiment verification, the modified kernel can support homology priority tasks scheduling, meanwhile, it also remains preemptive property of original μC/OS-Ⅱ.展开更多
文摘嵌入式系统是一种将底层硬件、实时操作系统和应用软件相结合的专用计算机系统,网络化是嵌入式系统的主要趋势之一。本文以Sam sung S3C 44BOX芯片为核心的ARM开发板作为硬件平台,以μC/O S II实时操作系统作为软件平台,针对μC/O S II内核中不支持TCP/IP协议栈,无法适应嵌入式设备网络化需要的问题,本文首先对标准的TCP/IP协议栈进行了分析,然后提出了简化实现一个基于ARM和μC/O S II的嵌入式TCP/IP协议栈方案。
基金Supported by the "Chunhui" Plan of Ministry of Education of China (Z2005-2-11013)
文摘μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is proposed. The basic idea is adding round-robin scheduling strategy in its original scheduler in order to schedule homology priority tasks through time slice roundrobin. Implementation approach is given in detail. Firstly, the Task Control Block (TCB) is extended. And then, a new priority index table is created, in which each index pointer points to a set of homology priority tasks. Eventually, on the basis of reconstructing μC/OS-Ⅱ real-time kernel, task scheduling module is rewritten. Otherwise, schedulability of homology task supported by modified kernel had been analyzed, and deadline formula of created homology tasks is given. By theoretical analysis and experiment verification, the modified kernel can support homology priority tasks scheduling, meanwhile, it also remains preemptive property of original μC/OS-Ⅱ.