Computer Science ›› 2013, Vol. 40 ›› Issue (6): 41-44.

Previous Articles     Next Articles

Analysis of MQX Interrupt Mechanism and Design of Interrupt Program Frame Based on ARM Cortex-M4

SHI Jing,WANG Yi-huai,SU Yong and SHEN Chen   

  • Online:2018-11-16 Published:2018-11-16

Abstract: Interrupt mechanism is the core mechanism which decides the instantaneity of the RTOS.MQX is an open source,multitask support,preemptive RTOS which is maintained by Freescale.It will be widely used in the application of the ARM Cortex-M microprocessor.MQX interrupt mechanism has the characteristics of real-time response and dynamic management.The paper analysed the MQX interrupt operation mechanism of top half and bottom half,based on the ARM Cortex M4Kinetis series microcontroller,and put forward the evaluation algorithm which is used to describe the instantaneity of the RTOS,making the controllability of program running time clear.On this basis,according to the embedded software engineering basic principles,not constrained by the traditional program structure design methods,this paper proposed a basic principle describing the interruption program structure under MQX and the distribution of programming elements,which satisfies the requirements of program reusability and portability.

Key words: MQX,ARM Cortex-M4,Kinetis,Interrupt mechanism,Interrupt program frame

[1] Freescale.Freescale MQX Real-Time Operating System User’s Guide[EB/OL].http://www.freesacle.com,2011-04
[2] 王运盛,王坚.VxWorks实时操作系统中的中断处理机制[J].电讯技术,2007,8(2):2-4
[3] Labrosse Jean J.嵌入式实时操作系统uC/OS-II(第2版)[M].邵贝贝,等译.北京:北京航空航天大学出版社,2003:61-72
[4] 王宜怀,吴璟,蒋银珍.嵌入式系统原理与实践—ARM Cortex-M4Kinetis微控制器[M].北京:电子工业出版社:45-74
[5] Freescale.K60Sub-Family Reference Manual[EB/OL].http://www.freesacle.com,2011
[6] 荐红梅.基于硬件构件的嵌入式底层软件开发方法研究及其应用[D].苏州:苏州大学,2008,4:36-44
[7] Richard H C,Janell A.Review of current embedded systemhardware,OS,development systems and application domains for instructional design[C]∥Conference Proceedings ASEE AnnualConference and Exposition.2007:16
[8] Freescale.Freescale MQX RTOS Reference Manual[EB/OL].http://www.freesacle.com,2011-04
[9] Freescale.MQX RTOS 3.8.1Release Notes[EB/OL].http://www.freesacle.com,2012-06
[10] Yiu J.ARM Cortex-M3权威指南[M].宋岩,译.北京:北京航空航天大学出版社,2009,7:11-41,0-154
[11] ARM.Cortex-M4Devices Generic User Guide [EB/OL].http://www.arm.com

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!