Back to Search
Start Over
Embedded C code generation and embedded target development based on RTW-EC
- Source :
- 2010 3rd International Conference on Computer Science and Information Technology.
- Publication Year :
- 2010
- Publisher :
- IEEE, 2010.
-
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.
Details
- Database :
- OpenAIRE
- Journal :
- 2010 3rd International Conference on Computer Science and Information Technology
- Accession number :
- edsair.doi...........036e082bf2a2d8872d1cb03027b4288b