基于软件实现的实时操作系统(Real Time Operation System,RTOS)运行时需要占用CPU,从而降低了应用程序的执行效率,软件顺序执行的特点也给系统实时性的提高造成了不能忽视的影响。针对上述问题,以μC/OS-II为研究对象,设计了基于FPGA...基于软件实现的实时操作系统(Real Time Operation System,RTOS)运行时需要占用CPU,从而降低了应用程序的执行效率,软件顺序执行的特点也给系统实时性的提高造成了不能忽视的影响。针对上述问题,以μC/OS-II为研究对象,设计了基于FPGA的硬件实时操作系统(Hardware Real Time Operation System,HRTOS),并设计完成了任务管理器及定时器,得到了硬件仿真结果;并设计了基于Nios II平台的系统设计验证方案,将软硬件结合,加入硬件模块后的验证结果与软件实现相同,具有重要的现实意义。展开更多
In this study, we present a miniOS kernel implemented via analysis of the context switching, the scheduler, and the memory management of the original OS kernel for an embedded system based on ARM core. Since this is a...In this study, we present a miniOS kernel implemented via analysis of the context switching, the scheduler, and the memory management of the original OS kernel for an embedded system based on ARM core. Since this is a large subject, we have limited our scope to them only that made up an embedded operating system. The implemented miniOS kernel is composed only by them, to the exclusion of all other functions of the original kernel. Our goal is to modify the OS kernel depending on the product function. The implementation method of the miniOS kernel can be applicable to any OS being mounted based on the ARM core. Modifying the kernel depending on the product function can improve the OS booting speed as well as save the system memory. The functions of the scheduler, the context switching, and the memory management are described with the source in each section. The miniOS kernel was implemented in the Assembly and C language and was verified through the build and the test. The results are shown in the Section 5.展开更多
文摘基于软件实现的实时操作系统(Real Time Operation System,RTOS)运行时需要占用CPU,从而降低了应用程序的执行效率,软件顺序执行的特点也给系统实时性的提高造成了不能忽视的影响。针对上述问题,以μC/OS-II为研究对象,设计了基于FPGA的硬件实时操作系统(Hardware Real Time Operation System,HRTOS),并设计完成了任务管理器及定时器,得到了硬件仿真结果;并设计了基于Nios II平台的系统设计验证方案,将软硬件结合,加入硬件模块后的验证结果与软件实现相同,具有重要的现实意义。
文摘In this study, we present a miniOS kernel implemented via analysis of the context switching, the scheduler, and the memory management of the original OS kernel for an embedded system based on ARM core. Since this is a large subject, we have limited our scope to them only that made up an embedded operating system. The implemented miniOS kernel is composed only by them, to the exclusion of all other functions of the original kernel. Our goal is to modify the OS kernel depending on the product function. The implementation method of the miniOS kernel can be applicable to any OS being mounted based on the ARM core. Modifying the kernel depending on the product function can improve the OS booting speed as well as save the system memory. The functions of the scheduler, the context switching, and the memory management are described with the source in each section. The miniOS kernel was implemented in the Assembly and C language and was verified through the build and the test. The results are shown in the Section 5.