没有合适的资源?快使用搜索试试~ 我知道了~
OSEK_Run_Time_Interface(ORTI)PartB_Objects and Attributes_V2.1.0
需积分: 5 10 浏览量
2023-03-02
14:25:06
上传
评论
收藏 653KB PDF 举报
温馨提示
OSEK的某些部分由ISO17356标准化。(可私信博主,获得该标准) OSEK_VDX_OSEK_Run_Time_Interface(ORTI)_Part_B_OSEK Objects and Attributes_V2.1.0_2002.pdf 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
OSEK Run Time Interface (ORTI)
Part B: OSEK Objects and Attributes
ORTI 2.1 Part B © by OSEK Document: ORTI-B-21.doc
OSEK/VDX
OSEK Run Time Interface (ORTI)
Part B: OSEK Objects and Attributes
Version 2.1
17. April 2002
This document is an official release and replaces all previously distributed documents. 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
OSEK Run Time Interface (ORTI)
Part B: OSEK Objects and Attributes
2 © by OSEK ORTI 2.1 Part B
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”.
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
OSEK Run Time Interface (ORTI)
Part B: OSEK Objects and Attributes
ORTI 2.1 Part B © by OSEK 3
Table of Contents
1 Overview ...............................................................................................................................5
1.1 Scope.............................................................................................................................5
1.1.1 Generation of Information...................................................................................5
2 Standard ORTI Objects and Attributes .................................................................................6
2.1 Kernel version...............................................................................................................6
2.2 General attributes..........................................................................................................6
2.2.1 Attribute VALID .................................................................................................6
2.3 Object OS......................................................................................................................7
2.3.1 Attribute RUNNINGTASK.................................................................................7
2.3.2 Attribute RUNNINGTASKPRIORITY ..............................................................7
2.3.3 Attribute RUNNINGISR2...................................................................................7
2.3.4 Attribute SERVICETRACE................................................................................8
2.3.5 Attribute LASTERROR ......................................................................................8
2.3.6 Attribute CURRENTAPPMODE........................................................................8
2.4 Object TASK ................................................................................................................8
2.4.1 Attribute PRIORITY ...........................................................................................9
2.4.2 Attribute STATE.................................................................................................9
2.4.3 Attribute STACK ................................................................................................9
2.4.4 Attribute CURRENTACTIVATIONS ................................................................9
2.4.5 Attribute CONTEXT...........................................................................................9
2.5 Object CONTEXT ........................................................................................................9
2.5.1 Attribute ADDRESS .........................................................................................10
2.5.2 Attribute SIZE ...................................................................................................10
2.6 Object STACK............................................................................................................11
2.6.1 Attribute SIZE ...................................................................................................11
2.6.2 Attribute BASEADDRESS...............................................................................11
2.6.3 Attribute STACKDIRECTION.........................................................................11
2.6.4 Attribute FILLPATTERN .................................................................................12
2.7 Object ALARM ..........................................................................................................12
2.7.1 Attribute ALARMTIME ...................................................................................12
2.7.2 Attribute CYCLETIME.....................................................................................12
2.7.3 Attribute STATE...............................................................................................12
2.7.4 Attribute ACTION ............................................................................................13
2.7.5 Attribute COUNTER.........................................................................................13
2.8 Object RESOURCE....................................................................................................13
2.8.1 Attribute STATE...............................................................................................13
2.8.2 Attribute LOCKER ...........................................................................................13
2.8.3 Attribute PRIORITY .........................................................................................13
2.9 Object MESSAGECONTAINER ...............................................................................14
2.9.1 Attribute MSGNAME.......................................................................................14
2.9.2 Attribute MSGTYPE.........................................................................................14
2.9.3 Attribute QUEUESIZE......................................................................................14
2.9.4 Attribute QUEUECOUNT ................................................................................14
2.9.5 Attribute FIRSTELEMENT..............................................................................15
3 Vendor specific objects and attributes ................................................................................16
4 Sample ORTI File ...............................................................................................................17

OSEK/VDX
OSEK Run Time Interface (ORTI)
Part B: OSEK Objects and Attributes
4 © by OSEK ORTI 2.1 Part B
Appendix A Interpretation of SERVICETRACE ...................................................... 22
A.1 Operation of SERVICTRACE ................................................................................... 22
A.2 Debuggers' Interpretations.......................................................................................... 22
A.2.1 Overview........................................................................................................... 22
A.2.2 Simple Interpretation ........................................................................................ 23
A.2.3 Intelligent Interpretation ................................................................................... 23
History...................................................................................................................................... 24

OSEK/VDX
OSEK Run Time Interface (ORTI)
Part B: OSEK Objects and Attributes
ORTI 2.1 Part B © by OSEK 5
1 Overview
1.1 Scope
The OSEK Run Time Interface (ORTI) is intended as a universal interface for development
tools to the OSEK Operating System. The interface intends to enable the attached tool to
evaluate and display information about the operating system, its state, its performance, the
different task states, the different operating system objects etc.
1.1.1 Generation of Information
Information about the OSEK configuration and status availability can be made available at
generation of the configuration header files by the system generator. System generators are
provided with each OSEK implementation and connect configuration information to C header
files. They are capable of providing all necessary information including configuration
information and internal code and data addresses to the attached tool. The ORTI file is
typically generated at build time by the OSEK manufacturer’s System Generator, as shown in
figure 1.
The configuration information will remain static during the debug session (or until a new
software version is compiled) and serves as an information basis. Additionally the ORTI file
contains dynamic information as a set of attributes that are represented by formulas to access
corresponding dynamic values. Formulas for dynamic data access are comprised of constants,
operations, and symbolic names within the target file. The debug tool to obtain internal values
of the required OS objects can then evaluate the given formula.
Figure 1 - ORTI Aware Debugging System
剩余24页未读,继续阅读
资源评论


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


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