Embedded C Code Generation and Embedded Target Development Based on RTW-EC

被引:0
作者
Luo, Feng [1 ]
Huang, Zhihui [1 ]
机构
[1] Tongji Univ, Coll Automot Engn, Shanghai, Peoples R China
来源
PROCEEDINGS OF 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY (ICCSIT 2010), VOL 5 | 2010年
关键词
RTW-EC; embedded system; code generation;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
eThis paper focus on the methods of the build process of Real-Time Workshop (RTW), the influencing factors on code efficiency and development of a custom embedded target. In order to generate embedded C code and download it to a user-specified micro-controller (Freescale (TM) MC9S08DZ60 for example in this paper) conveniently, an embedded target is developed. The embedded target developing consists of the target device drivers and the interface to CodeWarrior IDE. The user can develop custom device drivers by following the steps of creating a C MEX S-function, masking the blocks and writing TLC files. In particular, this paper provides the ways of designing two special blocks for interrupt service routine (ISR) and target resource configuration. Through the comparison between automatic generation codes and codes written by bands in PC environment and embedded system, it is concluded that automatic generation codes is accurate and efficient, but the execution time is slower than the code written by hand in micro-controller.
引用
收藏
页码:532 / 536
页数:5
相关论文
共 6 条
[1]  
Bartosinski R., PEERT BLOCKSET PROCE
[2]  
Matlab R, 2008, MATL R2008B HELP DOC
[3]  
Reddy Vinod, TIPS FIXED POINT MOD
[4]  
Ren Chuanjun, 2007, COMPUTER SIMULATION, V24
[5]  
Yamamoto Y., NXTWAY GS MODEL BASE
[6]  
Yang Xiaozhong, 2008, J PROJECTILES ROCKET, V28