没有合适的资源?快使用搜索试试~ 我知道了~
OSEK_VDX_Time-Triggered_Operating_System_V1.0_2001.pdf
需积分: 5 16 浏览量
2023-03-02
14:25:14
上传
评论
收藏 515KB PDF 举报
OSEK的某些部分由ISO17356标准化。(可私信博主,获得该标准) ISO 17356由以下部分组成: -OSEK Glossary (位于OSEK Binding 1.4.1,ISO 17356-1的一部分,由ISO-style introduction和glossary组成) -OSEK Binding Specification(基础:OSEK Binding 1.4.1,ISO 17356-2,glossary除外) -OSEK OS(基础:OSEK OS2.2.1,ISO 17356-3) -OSEK COM(基础:OSEK COM3.0.2,ISO 17356-4) -OSEK NM(基地:OSEK NM2.5.2,17356-5) -OSEK OIL(基础:OIL 2.4.1,ISO 17356-6)
资源推荐
资源详情
资源评论






















OSEK/VDX
Time-Triggered Operating System
Specification 1.0
OSEKtime OS 1.0 © by OSEK Document: ttos10.doc
OSEK/VDX
Time-Triggered Operating System
Version 1.0
July 24
th
2001
This document is an official release. The OSEK group retains the right to make changes to this document
without notice and does not accept any liability for errors. All rights reserved. No part of this document
may be reproduced, in any form or by any means, without permission in writing from the OSEK/VDX
steering committee.

OSEK/VDX
Time-Triggered Operating System
Specification 1.0
2 © by OSEK OSEKtime OS 1.0
Preface
OSEK/VDX is a joint project of the automotive industry. It aims at an industry standard for an
open-ended architecture for distributed control units in vehicles.
For detailed information about OSEK project goals and partners, please refer to the “OSEK
Binding Specification”.
This document describes the concept of a time-triggered real-time operating system (OSEKtime). It
is not a product description which relates to a specific implementation. This document also specifies
the OSEKtime operating system - Application Program Interface.
General conventions, explanations of terms and abbreviations have been compiled in the additional
inter-project "OSEK Overall Glossary". Regarding implementation and system generation aspects
please refer to the "OSEK Implementation Language" (OIL) specification.

OSEK/VDX
Time-Triggered Operating System
Specification 1.0
OSEKtime OS 1.0 © by OSEK 3
Table of Contents
1 Introduction...........................................................................................................................5
1.1 System Philosophy..........................................................................................................5
1.2 Purpose of this Document ...............................................................................................6
1.3 Structure of this Document..............................................................................................7
2 Summary...............................................................................................................................8
2.1 Architecture of a OSEKtime System...............................................................................8
3 Architecture of the OSEKtime Operating System..................................................................10
3.1 Processing Levels .........................................................................................................10
4 Task Management ...............................................................................................................12
4.1 Task Concept...............................................................................................................12
4.2 Task State Model.........................................................................................................12
4.2.1 Time-triggered Tasks..............................................................................................12
4.3 Activating a Task..........................................................................................................13
4.4 Scheduling Policy – time-triggered Activation................................................................13
4.5 Termination of Tasks ....................................................................................................15
4.6 Deadline Monitoring .....................................................................................................15
4.7 ttIdleTask.....................................................................................................................15
4.8 Application Modes.......................................................................................................16
5 Interrupt Processing.............................................................................................................17
6 Synchronisation....................................................................................................................19
6.1 Synchronisation of System Time....................................................................................19
6.2 Start-up and Resynchronisation.....................................................................................19
6.2.1 Synchronisation Methods........................................................................................20
6.2.2 Synchronisation.......................................................................................................21
7 System Start-up and Shutdown in a mixed OSEKtime / OSEK/VDX System.......................22
7.1 Start-up of mixed OSEKtime and OSEK/VDX OS Systems.........................................22
7.2 Shutdown of mixed OSEKtime and OSEK/VDX OS Systems ......................................22
8 Inter-Task Communication...................................................................................................23
9 Error Handling.....................................................................................................................24
9.1 Error Handling for Deadline Violation............................................................................24
10 Specification of OSEKtime Operating System Services.........................................................25
10.1 Common Data Types....................................................................................................26
10.2 General Naming Conventions........................................................................................26
10.3 Task Management ........................................................................................................27
10.3.1Data Types.............................................................................................................27
10.3.2Constants ...............................................................................................................27
10.3.3Constructional Elements..........................................................................................27
10.3.4System Services......................................................................................................27
10.3.4.1 ttGetTaskID..........................................................................................................................................27
10.3.4.2 ttGetTaskState.....................................................................................................................................28
10.3.5Naming Convention................................................................................................28

OSEK/VDX
Time-Triggered Operating System
Specification 1.0
4 © by OSEK OSEKtime OS 1.0
10.4 Interrupt Handling.........................................................................................................29
10.5 Operating System Execution Control.............................................................................29
10.5.1Data types ..............................................................................................................29
10.5.2Constants................................................................................................................29
10.5.3System Services......................................................................................................30
10.5.3.1 ttSwitchAppMode..............................................................................................................................30
10.5.3.2 ttGetActiveApplicationMode...........................................................................................................30
10.5.3.3 ttGetOSEKOSState..............................................................................................................................30
10.5.3.4 ttStartOS...............................................................................................................................................31
10.5.3.5 ttShutdownOS.....................................................................................................................................31
10.6 Hook Routines..............................................................................................................32
10.6.1ttErrorHook............................................................................................................32
10.6.2ttStartupHook.........................................................................................................32
10.6.3ttShutdownHook.....................................................................................................33
10.7 Synchronisation.............................................................................................................33
10.7.1Data Types.............................................................................................................33
10.7.2Constants................................................................................................................33
10.7.3System Services......................................................................................................34
10.7.3.1 ttGetOSSyncStatus.............................................................................................................................34
10.7.3.2 ttSyncTimes .........................................................................................................................................34
10.8 API Services ................................................................................................................35
11 Index...................................................................................................................................36
11.1 List of Services, Data Types, and Constants..................................................................36
11.2 List of Figures...............................................................................................................36
11.3 List of Tables................................................................................................................36
12 History.................................................................................................................................37

OSEK/VDX
Time-Triggered Operating System
Specification 1.0
OSEKtime OS 1.0 © by OSEK 5
1 Introduction
The specification of the OSEKtime operating system (OSEKtime OS) is to represent a uniform
functioning environment which supports efficient utilisation of resources for automotive control unit
application software. The OSEKtime operating system is a single processor operating system meant
for distributed embedded control units.
1.1 System Philosophy
The objective of the OSEKtime working group is to specify a time-triggered operating system with a
fault-tolerant communication layer as a standardised run-time environment for highly dependable
real-time software in automotive electronic control units. The operating system must implement the
following properties:
• predictability (deterministic, a priori known behaviour even under defined peak load and fault
conditions),
• clear, modular concept as a basis for certification,
• dependability (reliable operation through fault detection and fault tolerance),
• support for modular development and integration without side-effects (composability), and
• compatibility to the OSEK/VDX.
The OSEKtime operating system supports static scheduling and offers all basic services for real-time
applications, i.e., interrupt handling, dispatching, system time and clock synchronisation, local
message handling, and error detection mechanisms.
All services of OSEKtime are hidden behind a well-defined API. The application interfaces to the
OS and the communication layer only via this API.
For a particular application the OSEKtime operating system can be configured such that it only
comprises the services required for this application. Thus the resource requirements of the operating
system are as small as possible.
OSEKtime also comprises a fault-tolerant communication layer that supports real-time
communication protocols and systems and is described in FTCom specification.
剩余37页未读,继续阅读
资源评论


汽车电子助手
- 粉丝: 6262
- 资源: 133
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
