期刊文献+

基于MSP430单片机的软件代码快速开发 被引量:3

Rapid Development of Software Code Based on MSP430
下载PDF
导出
摘要 为实现高效的代码编写和方便的系统维护,在前期研究工作的基础上,利用Matlab 7.x的Stateflow工具箱,实现了基于MSP430单片机的嵌入式系统软件开发.首先,对嵌入式系统进行基于事件驱动的建模与仿真.然后,在状态图代码生成器(Stateflow Coder)中把状态图(State chart)翻译成高效的C语言代码.最后,用基于MSP430单片机的目标系统底层驱动函数与翻译的C语言空函数进行简单替换,实现了嵌入式系统软件代码的快速生成.对比实验表明,用本文方法生成的软件代码,在嵌入式目标系统中运行状况良好,其易维护性和执行效率等方面均优于手工编写的代码. In order to get high efficiency of code design and convenience of software debugging,based on the analysis of relevant research before,the development of the embedded system software of MSP430 was realized. Firstly,using Matlab/StateflowToolbox to model and simulate the complex event drive in the embedded system was introduced. Then using coder the stateflow was translated into high efficiency C code. By making some simple replacement to the blank C function generated with the low-layer function of the target system based MSP430,the code rapid generation of the embedded software was finished. Experiment show that the automatically code generation works well in the embedded target system. It has good performance and high code efficiency than those code generated by hand .
出处 《天津科技大学学报》 CAS 2010年第3期61-65,共5页 Journal of Tianjin University of Science & Technology
基金 天津市高等学校科技发展基金资助项目(20080808)
关键词 嵌入式系统 MATLAB 状态图 embedded system Matlab state chart
  • 相关文献

参考文献8

  • 1刘然,陈英,赵小林.基于UML的CASE平台的代码自动生成[J].北京理工大学学报,2002,22(2):196-200. 被引量:10
  • 2Selic B.Using UML for modeling complex real-time systems[J].Lecture Notes In Computer Science,1998(1474):250-272.
  • 3Basso F P,Oliveira T C,Becker L B.Using the FOMDA approach to support object-oriented real-time systems development[C] //Proceeding of 9th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing.Piscataway:IEEE,2006:374-381.
  • 4Khan M U,Geihs K,Gutbrodt F,et al.Model-driven development of real-time systems with UML 2.0 and C[C] // Proceedings of 13th IEEE International Conference on Engineering of Computer Based Systems.Piscata-way:IEEE,2006:33-42.
  • 5Lu Shourong,Halang Wolfgang A,Zhang Lichen.A component-based UML profile to model embedded realtime systems designed by the MDA approach[C] // Proceedings of 11th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications.Piscataway:IEEE,2005:563-566.
  • 6Bastian Florentz,Martin Mutz.Avoiding unpredicted behaviour of large scale embedded systems by design and application of modeling rules[C] // Proceedings of 2004 1st International Workshop on Model,Design and Validation,SIVOES-MoDeVa 2004.Piscataway:IEEE,2004:59-66.
  • 7刘玉良,李刚,康凯.基于MATLAB的嵌入式系统软件开发[J].天津大学学报,2008,41(5):593-596. 被引量:10
  • 8邹晖,陈万春,殷兴良.Stateflow在巡航导弹仿真中的应用[J].系统仿真学报,2004,16(8):1854-1856. 被引量:16

二级参考文献15

  • 1邹晖,陈万春,殷兴良.Stateflow在巡航导弹仿真中的应用[J].系统仿真学报,2004,16(8):1854-1856. 被引量:16
  • 2Boggs W Boggs M.UML with rational rose从入门到精通[M].北京:电子工业出版社,2000..
  • 3袁子怀 钱杏芳.有控飞行力学与计算机仿真[M].北京:国防工业出版社,2002..
  • 4The MathWorks,Inc.,Stateflow(r) and Stateflow Coder(r) User's Guide Version 5 [M/CD],The MathWorks,Inc.,2002.
  • 5Khan M U, Geihs K,Gutbrodt F,et al. Model-driven development of real-time systems with UML 20 and C [ C ]//MBD/MOMPES 2006. Potsdam, Germany, 2006: 33-42.
  • 6Lu S, Halang W A, Zhang L. A component-based UML profile to model embedded real-time systems designed by the MDA approach [ C ]//Proceedings of the 11th IEEE International Conference on Embedded and Real-Time Computing Systems and Application.Hong Kong, China, 2005 : 563-566.
  • 7Florentz B, Mutz M. Avoiding unpredicted behaviour of large scale embedded systems by design and application of modelling rules [ C ]//Proceedings of the 1st International Workshop on Model, Design and Validation. Rennes, France, 2004: 59-66.
  • 8The Unified Modeling Language^TM [ EB/OL ]. http:// www.uml.org, 2006-07-25.
  • 9Model Driven Architecture [ EB/OL ] . http ://www. omg.org/mda, 2006-07-25.
  • 10Selic B. Using UML for modeling complex real-time systems [ J ]. Lecture Notes in Computer Science, 1998, 1474: 250-272.

共引文献32

同被引文献15

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部