Designing and Implementing An8-bit OSEK/VDX-based RTOS and Corresponding Configuration Tool

Author
LuoXiaoMin
Advisor
TuShiLiang
School
Fudan University
Major
Computer System Architecture
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2012
Downloads
21
Citations
0

Request the full text

Abstract

With the development of automotive industry, automotive electronic control systems become more and more complex. In order to meet the growing needs of automotive electronic control software development and improve the portability and compatibility of application softwares, the European automotive industry put forward the OSEK/VDX specifications in1993, which has been a popular software interface standard in the international automotive industry today.At present, the study of OSEK/VDX is on the rise in China, and there have been some OSEK/VDX-based embedded real-time operating system (RTOS) prototypes. However, these operating systems are usually based on16-bit or32-bit microcontrollers while not focus on8-bit microcontrollers which are widely used in China’s automotive industry. So, it’s necessary for us to design an8-bit OSEK/VDX-based embedded RTOS.In this paper, we explore the design and implement of an8-bit OSEK/VDX-based embedded RTOS on the following aspects:Firstly, we independently designed and implemented an embedded RTOS kernel (named FDOSEK) which is suitable for8-bit microcontroller on the basis of in-depth study of OSEK/VDX OS specification. This kernel completely implemented task management and scheduling, resource management, event mechanism, interrupt management and alarm mechanism. FDOSEK supports four different conformance classes and three types of scheduling policy. Depends on the conformance class, we flexibly designed different task ready queue and task control block. We implemented FDOSEK based on the8-bit microcontroller MC9S08DZ60of Freescale Corporation. Meanwhile, we also ported it to the8-bit microcontroller STM8AF51A of STMicroelectronics Corporation.Secondly, after in-depth study of OSEK/VDX OIL specification, we designed and implemented a static configuration tool (named FDConfiger) which has a graphical user interface. With this tool, user can easily configure their application software. In order to help user correcting their configuration errors, FDConfiger also provides error detection function.Finally, we performed function testing and performance testing for FDOSEK. The test result shows that FDOSEK is completely compatible with OSEK/VDX standards. It also shows that FDOSEK has a lower memory cost and higher real-time performance. All in all, FDOSEK is well suitable for low-end automotive electronics software industry.

Table of contents

Summary 4-5 Abstract 5-7 Chapter 1 Introduction 7-11 1.1 Background and Significance 7 - 9 1.2 research objectives 9-10 1.3 The paper is organized 10-11 Chapter 2 OSEK / VDX specifications 11-22 2.1 OSEK OS specification 13-19 2.1.1 task Manager 15-16 2.1.2 resource management mechanisms 16-17 2.1.3 The event mechanism 17-18 2.1.4 interrupt management 18 2.1.5 alarm mechanism 18-19 2.1.6 error handling mechanism 19 2.2 OSEK implementation language 19-22 Chapter 3 FDOSEK design and Implementation 22-40 3.1 FDOSEK task management and scheduling 24-32 3.2 FDOSEK event mechanism 32-33 3.3 FDOSEK resource management 33-36 3.4 FDOSEK alarm management 36-39 3.5 FDOSEK interrupt management achieve nbsp 39-40 Chapter 4 FDConfiger design and ; 40-47 4.1 OIL resolution process automatic generation algorithm 41-44 4.2 resource priority ceiling 44-45 4.3 FDConfiger use 45-47 Chapter 5 FDOSEK test 47-58 5.1 FDOSEK functional test 47-54 5.1.1 test sequence → OIL configuration file 50-51 5.1 .2 test sequence → test application code 51-53 5.1.3 determine whether the test passed 53 5.1.4 FDOSEK function test results and analysis 53 - 54 5.2 FDOSEK performance test 54-58 5.2.1 FDOSEK interrupt response time test 54-55 5.2.2 FDOSEK task switching time test 55 5.2.3 FDOSEK performance test results and analysis 55-58 Chapter 6 summary and Outlook 58-60 References 60-62 Thanks 62-63

Related dissertations

  1. Research on Methodology of Model-Based Synthesis for Automotive Electronics Software
    GaoZhiGang ·Zhejiang University ·2008 ·Doctoral dissertation
  2. Study of Standardized Vehicles Operating System Based on uC/OS-II
    XiaLingLin ·Jilin University ·2006 ·Master's thesis
  3. SmartOSEK time system design and performance optimization
    LinShuXin ·Zhejiang University ·2005 ·Master's thesis
  4. Design and Implementation for Embedded Operating System Based on OSEK/VDX Standard
    LiangJinXiang ·Harbin Institute of Technology ·2007 ·Master's thesis
  5. Design and Realization of OSEK Real-time Operating System Based on μC/OS-Ⅱ for Automobile Control
    LengJing ·Jiangsu University ·2009 ·Master's thesis
  6. Design and Implementation for Network Management Based on OSEK/VDX Standard
    YangHaoLiang ·Harbin Institute of Technology ·2008 ·Master's thesis
  7. Research and Application of Virtualization for Embedded Systems Based on ARM TrustZone
  8. Design and Achievement of Automotive Electronics Test Platform Data Acquisition System Based on Zigbee
    LiZuo ·Harbin Engineering University ·2013 ·Master's thesis
  9. Information Colletion of the Vehicle Bus and Electrical Contact Performance Testing Research
    HuBin ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design of Testing System for Automotive Quiescent Current and Wiper Motor
    ZhangBoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Research on Automobile Body Control System Based on CAN/LIN Hybird Network
    LiHaiYang ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Design of Car CAN Bus Base on the Embedded System
    MaLongXiang ·Tianjin University of Technology ·2013 ·Master's thesis
  13. Virtual Team Research in Automotive Electronics Multinational R&D Project Management
    QinShouRuo ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. The Research on the Small Multi-rotorcraft Based on Embeded Contorl System
    ZhaoShuJian ·Hebei University of Technology ·2013 ·Master's thesis
  15. Research and implementation of FlexRay bus communication protocol based on AUTOSAR
  16. Research and implementation of the communication module based on AUTOSAR
  17. Design and Implementation of Communication Module in High-performance Embedded NC System
  18. Design and Implementation of Embedded Intelligent Control Platform for Construction Machinery
    ShuJie ·Central South University ·2012 ·Master's thesis
  19. The Design of MIS Real-Time Control System
    LvYuJun ·Henan University of Technology ·2012 ·Master's thesis
  20. Research on Fpga-based Hardware Mutex Technology of Real-Time Operating System
    WangGuangHui ·Zhejiang University ·2013 ·Master's thesis