CS4101 嵌入式系统概论RTOS and MQX幻灯片.pptVIP

  • 2
  • 0
  • 约1.44万字
  • 约 26页
  • 2017-05-31 发布于山西
  • 举报

CS4101 嵌入式系统概论RTOS and MQX幻灯片.ppt

CS4101 嵌入式系统概论RTOS and MQX幻灯片

* * * * * * * * * * * * * Here is a closer look at what MQX has to offer. Note first that MQX is very configurable : referring to the diagram to the right, you can pick and choose the services from the outer ring as needed to fine tune the system. This component based architecture provides tunable scalability by choosing components and services required for your applications. Lightweight services also enable control of RAM and ROM utilization to balance code size with performance requirements. Also, selecting the services that fits your design will help reduce the overhead of the system. The standard release from Freescale enables the majority of the features to showcase the capabilities of MQX as can been in the out of box labs. However, a user can edit configure files base on application needs creating a smaller footprint or faster solution. This scalability is ideal for enabling an RTOS on a variety of processor classes, from 8-bit microcontrollers to microprocessors clocked at hundreds of megahertz. * To start things off, lets think about how we solve problems as engineers. You have a big problem to solve. In order to make it more manageable, you then break it down into little problems to tackle individually. It is the same idea when using an RTOS. You have a software problem you’re trying to solve, and so you break it down into chunks, which are called tasks. An RTOS system consists of one or more tasks that work together to solve a larger problem. The tasks takes turns running, as only one task, called the active task, has the processor at any one time. The RTOS then uses what is called a scheduler to determine how those tasks share the processor. And when a new task takes control of the processor, that’s called a context switch. By performing many context switches quickly, you can create the illusion of concurrency. However only task is active at a time. * * * * * * * * * CS4101 嵌入式系統概論 RTOS and MQX Prof. Chung-Ta King Department of Computer Scien

文档评论(0)

1亿VIP精品文档

相关文档