DocumentCode
1936237
Title
Embedded C code generation and embedded target development based on RTW-EC
Author
Luo, Feng ; Huang, Zhihui
Author_Institution
Coll. of Automotive Eng., Tongji Univ., Shanghai, China
Volume
5
fYear
2010
fDate
9-11 July 2010
Firstpage
532
Lastpage
536
Abstract
This 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™ 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.
Keywords
device drivers; embedded systems; interrupts; microcontrollers; program compilers; user centred design; CodeWarrior IDE; RTW-EC; TLC; block designing; embedded C code generation; embedded target development; interrupt service routine; real time workshop embedded coder; target device driver; target language compiler; user specified microcontroller; Computer languages; Conferences; Mathematical model; Read only memory; RTW-EC; code generation; embedded system;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Science and Information Technology (ICCSIT), 2010 3rd IEEE International Conference on
Conference_Location
Chengdu
Print_ISBN
978-1-4244-5537-9
Type
conf
DOI
10.1109/ICCSIT.2010.5563906
Filename
5563906
Link To Document