摘要
阐述RTWEC自动代码生成的原理、目标驱动模块的设计,以及与CodeWarrior IDE接口的实现;将智能车的随动算法移植到飞思卡尔8位处理器MC9S08QE128上,并通过和手写代码的对比验证了RTWEC自动生成代码的正确性和高效性。所研究的C代码转换技术可以将自动生成的代码,快速、方便地移植到对RTWEC没有专门支持的嵌入式系统中去。
This paper focuses on the principle of RTWEC automatic code generation, the design of target device driver module and the interface to CodeWarrior IDE. The generated code of intelligent car is ported to Freescale 8-bit microcontroller MC9S08QE128. By comparison with hand written code, RTWEC automatically generated code is proved to be correct and efficient. The generated code can be ported to other embedded system using the C code conversion technology.
出处
《单片机与嵌入式系统应用》
2010年第3期38-40,44,共4页
Microcontrollers & Embedded Systems