Kernel Analysis and Application Research of Embedded Real-time Operating System MQX

Author
ChengYuJuan
Advisor
WangYiHuai
School
Suzhou University
Major
Applied Computer Technology
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2011
Downloads
97
Citations
2

Request the full text

Abstract

Embedded real-time operating system MQX that applies industrial control, automotive electronics and consumer electronics is launched by Freescale semiconductor in the chinese market in 2009. MQX was first developed by Precise Software Technologies Corporation in 1989. MQX opens source after Freescale’s acquisition in 2009. MQX adopts micro-kernel structure, with standard API interface, module architecture, TCP/IP protocol stack, USB protocol stack and so on. So it has excellent performance in terms of real-time, transplant and reduction. In view of the domestic research and application of MQX not yet begin, commissioned by Freescale semiconductor, the paper analyzes and researches MQX mainly from the following aspects:(1) Researches MQX micro-kernel structure and kernel management function, and deeply analyzes MQX running implementation mechanism from MQX’s startup, task scheduling, device driver and so on. Puts forward MQX engineering framework structure by the idea of underlying software component, and rewrites device driver.(2) Analyzes and researches FIFO scheduling policy and RR scheduling policy of MQX, combines FIFO scheduling policy with RR scheduling policy, designs and implements multi-level feedback queue scheduling algorithm in the MQX, which not only responds the task with high priority but also makes the short task done quickly.(3) Transplants MQX to the automatic bending system microcontroller MCF52223, elaborates transplant procedure, files to modify and configure in the transplant process, designs LCD touch screen interface and completes the software platform design of automatic bending system on the MQX.Automatic bending equipment based on MQX runs well, effectively controls angle and accuracy of bending, and possesses high real-time response capability. The paper completes analysis and research of MQX, which has heuristic instructional function for its study and application in the field of embedded control.

Table of contents

Chinese abstract 4-5 Abstract 5-9 first chapter 9-18 1.1 RTOS 9-13 1.1.1 RTOS development course 9-10 1.1.2 RTOS functionality basic concepts 10 1.1.3 RTOS for 10-12 1.1.4 comparison of today's popular RTOS 12-13 1.2 MQX About 13-15 1.2.1 MQX version upgrade 13-14 1.2.2 MQX features 14-15 1.3 background and research topics relying 15 1.3.1 subject background 15 1.3.2 Research relies 15 1.4 The main content and significance 15-17 1.4.1 research 16 <br / > 1.4.2 topics sense 16-17 1.5 dissertation chapters arranged 17-18 chapter MQX kernel analysis 18-32 2.1 MQX system architecture 18-20 2.1.1 microkernel structure analysis 18-19 2.1.2 MQX kernel 19-20 2.2 task Manager 20-24 2.2.1 task template list 21 2.2.2 MQX task status 21-22 2.2.3 MQX task switching 22-23 2.2.4 MQX tasks related functions 23-24 2.3 time management 24-25 2.3.1 MQX time Related concepts 24 2.3.2 MQX time correlation function 24-25 2.3.3 MQX timers 25 2.4 interrupt management 25-27 2.4.1 interrupt management functions 25-26 2.4.2 MQX interrupt behavior 26 2.4.3 MQX interrupt management 26-27 2.5 storage management 27-28 2.6 task synchronization and communication 28-31 2.6.1 event 29 2.6.2 semaphore 29-30 2.6.3 exclusive 30 2.6.4 news 30-31 2.7 Summary 31-32 MQX Chapter III Implementation Mechanism Research 32-48 3.1 MQX boot process execution 32-35 3.1. 1 Bootloader analysis implementation process 33 3.1.2 Bootloader 33-34 3.1.3 MQX implementation 34-35 3.2 MQX of scheduling policy 35-38 3.2.1 kernel scheduling policy 35-37 3.2.2 task scheduling type 37-38 3.3 task Scheduler strategies to improve 38-42 3.3.1 improved scheduling reasons 38-39 3.3.2 multi-level feedback queue scheduling 39-40 <br / > 3.3.3 task scheduling improvements achieved 40-42 3.3.4 testing and comparing 42 3.4 MQX device driver design 42-47 3.4.1 MQX drivers under analysis 43-44 3.4.2 using MQX device driver 44-45 3.4.3 device driver design 45-47 3.5 Summary 47-48 Chapter MQX engineering framework 48-60 4.1 MQX development environment 48-49 4.1.1 CodeWarrior environment Introduction 48-49 4.1.2 CW environment installed 49 mounting frame 4.2 MQX of 49 - 50 4.3 MQX project file organization 50-52 4.3.1 project file logical structure 50-51 4.3.2 physical project file structure 51-52 4.4 MQX written works implementation and programming ideas 52-59 4.4.1 underlying components 52-53 4.4. 2 How the new environment in the CW MQX project 53-54 4.4.3 control of small lights flashing engineering design and implementation 54-59 4.5 Summary 59 -60 Chapter MQX application examples - automatic bending systems 60-71 5.1 automatic bending systems requirements analysis and software design 60-61 5.1.1 Requirements Analysis 60-61 5.1.2 software design 61 transplant process 5.2 MQX of 61-63 5.3 LCD touch-screen interface design 63-66 5.3.1 LCD touchscreen About 63-64 5.3.2 interface Design and Implementation 64-66 5.4 tasks and interrupt program is designed 66-70 5.4.1 task design 66-69 5.4.2 interrupt programming 69-70 5.5 of this chapter summary 70-71 Chapter VI summary and Outlook 71-73 6.1 summarizes 71-72 6.2 Prospects 72 - 73 References papers and major research projects 73-78 published participating 78-79 hierarchy chart in Appendix a MQX 79-80 Appendix B automatic bending system hardware 80-81 Thanks 81-82

Related dissertations

  1. Research of Embedded Real-time Operating System MQX Application Framework
    SuYong ·Suzhou University ·2013 ·Master's thesis
  2. The Design of MIS Real-Time Control System
    LvYuJun ·Henan University of Technology ·2012 ·Master's thesis
  3. Analysis and reliability of Linux device driver
  4. Embroidery based on embedded Linux platform software design electrical control systems
  5. The Design and Implementation of Wireless Transport Station Based on Campus Card Data Acquisition System
    LiYuQuan ·Donghua University ·2008 ·Master's thesis
  6. The Porting and Testing of the Embeded Operating System μCOS
    JiaZhiQiang ·Taiyuan University of Technology ·2004 ·Master's thesis
  7. The Embedded System Based on μC/OS-Ⅱ
    GuoJiangHong ·Taiyuan University of Technology ·2004 ·Master's thesis
  8. The Kernel Analysis and the Porting Based on ARM of Embedded Operating Systems
    HuangBin ·Wuhan University of Technology ·2004 ·Master's thesis
  9. The Research & Development of Embedded OS Based on pSOS Kernel
  10. Embedded Linux system migration and application development technology research
  11. Porting Embedded Linux OS Based on ARM
  12. Dedicated file server network design and implementation
  13. Network Load Balancing System Design and Implementation
  14. Study on USB Driver Program for Network Devices Based on Linux
  15. Design of Security Surveillance System Based on Intelligent Video Analysis
  16. Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
  17. Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
    ZhaoYue ·Shenyang University ·2013 ·Master's thesis
  18. Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
    LiuWenJuan ·Hebei University of Engineering ·2013 ·Master's thesis
  19. Research on Task Scheduling and Communication Mechanisms Based on RTEMS
    LiuJianDong ·Harbin Engineering University ·2013 ·Master's thesis
  20. Random Task-oriented User Utility Optimization Model in the Cloud Environment
    ZhuMin ·Hunan University ·2013 ·Master's thesis