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
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
- Research on Methodology of Model-Based Synthesis for Automotive Electronics Software
- Study of Standardized Vehicles Operating System Based on uC/OS-II
- SmartOSEK time system design and performance optimization
- Design and Implementation for Embedded Operating System Based on OSEK/VDX Standard
- Design and Realization of OSEK Real-time Operating System Based on μC/OS-Ⅱ for Automobile Control
- Design and Implementation for Network Management Based on OSEK/VDX Standard
- Research and Application of Virtualization for Embedded Systems Based on ARM TrustZone
- Design and Achievement of Automotive Electronics Test Platform Data Acquisition System Based on Zigbee
- Information Colletion of the Vehicle Bus and Electrical Contact Performance Testing Research
- Design of Testing System for Automotive Quiescent Current and Wiper Motor
- Research on Automobile Body Control System Based on CAN/LIN Hybird Network
- Design of Car CAN Bus Base on the Embedded System
- Virtual Team Research in Automotive Electronics Multinational R&D Project Management
- The Research on the Small Multi-rotorcraft Based on Embeded Contorl System
- Research and implementation of FlexRay bus communication protocol based on AUTOSAR
- Research and implementation of the communication module based on AUTOSAR
- Design and Implementation of Communication Module in High-performance Embedded NC System
- Design and Implementation of Embedded Intelligent Control Platform for Construction Machinery
- The Design of MIS Real-Time Control System
- Research on Fpga-based Hardware Mutex Technology of Real-Time Operating System