Embedded C Code Generation and Embedded Target Development Based on RTW-EC
This paper focus on the methods of the build process of Real-Time Workshop (RTVV), 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 (FreescaleTM 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 hands 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.
RTW-EC embedded system code generation
Feng Luo Zhihui Huang
College of Automotive Engineering,Tongji University,Shanghai,China
国际会议
成都
英文
532-536
2010-07-07(万方平台首次上网日期,不代表论文的发表时间)