Model-Driven Development of RTOS-Based Embedded Software

  • Ji Chan Maeng
  • Dongjin Na
  • Yongsoon Lee
  • Minsoo Ryu
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4263)


There is a growing interest in the model-driven software development as a viable solution to the increasing complexity of embedded software. An important characteristic of a model-driven approach is that it allows a developer to focus on high-level models rather than low-level details, thereby raising the level of abstraction at which a developer can work. Therefore, the model-driven approach can provide a significant productivity gain and improved maintainability. One of the most noticeable approaches is the OMG’s MDA (Model-Driven Architecture), which is a de facto standard. Unfortunately, MDA provides little support for the development of RTOS-based embedded software since it focuses primarily on middleware target platforms such as EJB, Web Services, .NET, and CORBA. In this paper, we present a model-driven approach to RTOS-based embedded software development and an automated tool that can produce RTOS-specific code. Our contributions are two fold. First, we propose generic RTOS APIs (Application Programming Interfaces) that can capture most of typical RTOS services that can be used as a means for describing application’s RTOS-related behavior at an early design stage. We then present a transformation tool that can generate fully functional code by transforming generic RTOS APIs into RTOS-specific APIs. Our tool, called TransPI, is able to produce ’C’ code for POSIX-compliant RTOSs, and is also configurable to target other RTOSs that do not conform to the POSIX standard.


Application Programming Interface Transformation Rule Object Management Group Early Design Stage Transformation Tool 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Meservy, T.O., Fenstermacher, K.D.: Transforming Software Development: An MDA Road Map. IEEE Computer 38(9), 52–58 (2005)Google Scholar
  2. 2.
    Van Gorp, P., Janssens, D., Gardner, T.: Write Once, Deploy N: a Performance Oriented MDA Case Study. In: Proceedings of the 8th IEEE International Enterprise Distributed Object Computing Conference, pp. 123–134 (2004)Google Scholar
  3. 3.
    Koehler, J., Hauser, R., Kapoor, S., Wu, F.Y., Kumaran, S.: A Model-Driven Transformation Method. In: Proceedings of the 7th IEEE International Enterprise Distributed Object Computing Conference, pp. 186–197 (2003)Google Scholar
  4. 4.
    Almeida, J.P., Dijkman, R., van Sinderen, M., Pires, L.F.: On the Notion of Abstract Platform in MDA Development. In: Proceedings of the 8th IEEE International Enterprise Distributed Object Computing Conference, pp. 253–263 (2004)Google Scholar
  5. 5.
    Object Management Group Inc.: MDA Guide v1.0.1 (June 2003),
  6. 6.
    The Open Group: The Open Group Base Specification Issue 6, IEEE Std 1003.1, 2004 Edition (2004),
  7. 7.
  8. 8.
    Ha, S.: Hardware/Software Co-design of Multimedia Embedded Systems: PeaCE Approach. white paper (2004)Google Scholar
  9. 9.
    International Business Machines Corporation: Rational Rose-RT,
  10. 10.
    I-Logix: Rhapsody,
  11. 11.
    Telelogic AB: TAU,
  12. 12.
    Mellor, S.J., Scott, K., Uhl, A., Weise, D.: MDA Distilled: Principles of Model- Driven Architecture. Addison-Wesley, Reading (2004)Google Scholar
  13. 13.
    Meang, J.C., Kim, J.-H., Ryu, M.: An RTOS API Translator for Model-Driven Embedded Software Development. In: Proceedings of the IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (2006)Google Scholar
  14. 14.
    Kleppe, A., Warmer, J., Bast, W.: MDA Explained: The Model Driven Architecture: Practice and Promise. Addison-Wesley, Reading (2003)Google Scholar
  15. 15.
    Harel, D.: Statecharts: A visual formalism for complex systems. Science of Computer Programming 8(3), 231–274 (1987)MATHCrossRefMathSciNetGoogle Scholar
  16. 16.
    Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language User Guide. Addison-Wesley, Reading (1999)Google Scholar
  17. 17.
    Object Management Group Inc.: CORBA/IIOP Specification,
  18. 18.
    Kim, D., Ha, S.: Static Analysis and Automatic Code Synthesis of flexible FSM Model. In: ASP-DAC 2005 (January 2005)Google Scholar
  19. 19.
    Mellor, S.J., Balcer, M.J.: Executable UML: A Foundation for Model-Driven Architecture. Addison-Wesley, Reading (2002)Google Scholar
  20. 20.
    Open POSIX Test Suite from A GPL Open Source Project,

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Ji Chan Maeng
    • 1
  • Dongjin Na
    • 1
  • Yongsoon Lee
    • 1
  • Minsoo Ryu
    • 1
  1. 1.Computer Engineering Department, College of Information and CommunicationsHanyang UniversityKorea

Personalised recommendations