检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:马建辉 孙常青[1,2,3] 侯冬冬 郭坤[1,2,3] Ma Jlanhui;Sun Changqing;Hou Dongdong;Guo Kun(Qilu University of Technology(Shandong Academy of Sciences),Jinan 250353,China;Automatic Institute of Shandong Academy;Shandong Provincial Key Laboratory of Automotive Electronics Technology)
机构地区:[1]齐鲁工业大学(山东省科学院),济南250353 [2]山东省科学院自动化研究所 [3]山东省汽车电子技术重点实验室
出 处:《单片机与嵌入式系统应用》2018年第6期81-83,共3页Microcontrollers & Embedded Systems
基 金:山东省重点研发计划"移动互联新能源汽车车内信息安全技术研究与应用";项目编号:2017GGX10145;山东省重点研发计划(重大关键技术)2016ZDJS03A04;山东省重点研发计划(2016GGC01023)
摘 要:在中低端MCU的嵌入式系统软件设计中,为了节省有限的RAM资源,只能采用不加操作系统的裸机方式。为了借鉴操作系统的任务调度机制,在裸机开发方式中,设计一种不带任务堆栈的逻辑任务,按照具体应用划分若干逻辑任务,这些逻辑任务共享一个系统堆栈,每个逻辑任务都有自己的事件队列和任务处理程序,任务之间通过发送事件的形式进行通信。这种方案既避免了加载操作系统对系统RAM资源和MCU计算资源的消耗,又能够实现类似于操作系统的任务调度机制,实现软件的模块化,从而设计出低耦合、高内聚的软件。In the embedded system software design where only the low-end MCU can be selected,bare metal operation without operating system can be used to save limited RAM resources.In order to learn from the operating system's task scheduling mechanism,in the bare metal mode,a logical task without a task stack is designed,and several logical tasks are divided according to specific applications.These logical tasks share a system stack.Each logical task has its own event queue and task handler,and communicates by sending events.Such a scheme not only avoids loading the operating system to consume system RAM resources and MCU computing resources,but also enables a task scheduling mechanism similar to the operating system to realize software modularization,thereby a software with low coupling and high cohesion is designed.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30