Specification of RTE
AUTOSAR CP Release 4.3.0
Document Title Specification of RTE
Document Owner AUTOSAR
Document Responsibility AUTOSAR
Document Identification No 084
Document Classification Standard
Document Status Final
Part of AUTOSAR Standard Classic Platform
Part of Standard Release 4.3.0
Document Change History
Date Release Changed by
Description
2016-11-30 4.3.0
AUTOSAR
Release
Management
• Service-based bypass support
• Minor corrections / clarifications /
editorial changes; For details please
refer to the ChangeDocumentation
2015-07-31 4.2.2
AUTOSAR
Release
Management
• Debugging support marked as
obsolete
• Minor corrections / clarifications /
editorial changes; For details please
refer to the ChangeDocumentation
2014-10-31 4.2.1
AUTOSAR
Release
Management
• Efficient NV data handling
• Introduction of data transformation
• Support for variable-size Arrays of
arbitrary data types
• Various fixes and clarifications
2014-03-31 4.1.3
AUTOSAR
Release
Management
• Various fixes and clarifications
2013-10-31 4.1.2
AUTOSAR
Release
Management
• Various fixes and clarifications
1 of 1116
— AUTOSAR CONFIDENTIAL —
Document ID 084: AUTOSAR_SWS_RTE
Specification of RTE
AUTOSAR CP Release 4.3.0
2013-03-15 4.1.1
AUTOSAR
Administration
• Adapted to new version of meta
model
• Bypass support added
• Support for parameter serialization of
client-server communication added
• Support for inter-partition
communication of BSW modules
added
• General consolidation and bug fixes
2011-12-22 4.0.3
AUTOSAR
Administration
• Adapted to new version of meta
model
• Support for mixed compu methods
with categories SCALE_
LINEAR_AND_TEXTTABLE and
SCALE_RATIONAL_AND_
TEXTTABLE added
• Support for compatibility of partial
record types added
• Consolidation of signal invalidation,
data conversion, and out-of-range
handling
• General consolidation and bug fixes
2011-04-15 4.0.2
AUTOSAR
Administration
• Adapted to new version of meta
model
• Backward compatibility to implicit
communication behavior of
AUTOSAR 2.1/3.0/3.1 added
• Support of inter-runnable variables
extended to composite data types
• Clarification which API calls shall be
implemented as macro accesses to
the component data structure in
compatibility mode
• General consolidation and bug fixes
2009-12-18 4.0.1
AUTOSAR
Administration
• Adapted to new version of meta
model
• RTE and Basic Software Scheduler
merged
• Support of multi core architectures
added
• Re-scaling at ports added
• API enhancements added
2 of 1116
— AUTOSAR CONFIDENTIAL —
Document ID 084: AUTOSAR_SWS_RTE
Specification of RTE
AUTOSAR CP Release 4.3.0
2009-02-04 3.1.2
AUTOSAR
Administration
• updated VFB-Tracing
• unconnected R-Ports are supported
• incompatible function declarations
fixed
• RTE server mapping updated
2008-02-01 3.0.2
AUTOSAR
Administration
• Layout adaptations
2007-12-21 3.0.1
AUTOSAR
Administration
• Adapted to new version of meta
model
• "RTE ECU Configuration" added
• Calibration and measurement
revised
• Document meta information
extended
• Small layout adaptations made
2007-01-24 2.1.15
AUTOSAR
Administration
• "Advice for users" revised
• "Revision Information" added
2006-11-28 2.1
AUTOSAR
Administration
• Adapted to new version of meta
model
• New feature ’debouncing of runnable
activation’
• New feature ’runnable activation
offset’
• ’Measurement and Calibration’
added
• Semantics of implicit communication
enhanced
• Legal disclaimer revised
2006-05-16 2.0
AUTOSAR
Administration
Initial release
3 of 1116
— AUTOSAR CONFIDENTIAL —
Document ID 084: AUTOSAR_SWS_RTE
Specification of RTE
AUTOSAR CP Release 4.3.0
Disclaimer
This specification and the material contained in it, as released by AUTOSAR, is for the
purpose of infor mation only. AUTOSAR and the companies that have contributed to it
shall not be liable for any use of the specification.
The material contained in this specification is protected by copyright and other types of
Intellectual Property Rights. The commercial exploitation of the material contained in
this specification requires a license to such Intellectual Property Rights.
This specification may be utilized or reproduced without any modification, in any form
or by any means, for informational purposes only. For any other purpose, no part of
the specification may be utilized or reproduced, in any form or by any means, without
permission in writing from the publisher.
The AUTOSAR specifications have been developed for automotive applications only.
They have neither been developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Advice for users
AUTOSAR specifications may contain exemplary items (exemplary reference models,
"use cases", and/or references to exemplary technical solutions, devices, processes or
software).
Any such exemplary items are contained in the specifications for illustration purposes
only, and they themselves are not part of the AUTOSAR Standard. Neither their pres-
ence in such specifications, nor any later documentation of AUTOSAR conformance of
products actually implementing such exemplary items, imply that intellectual property
rights covering such exemplary items are licensed under the same rules as applicable
to the AUTOSAR Standard.
4 of 1116
— AUTOSAR CONFIDENTIAL —
Document ID 084: AUTOSAR_SWS_RTE
Specification of RTE
AUTOSAR CP Release 4.3.0
Table of Contents
1 Introduction 23
1.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.2 Dependency to other AUTOSAR specifications . . . . . . . . . . . . . 24
1.3 Acronyms and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . 25
1.4 Technical Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.5 Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
1.6 Requirements Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2 RTE Overview 63
2.1 The RTE in the Context of AUTOSAR . . . . . . . . . . . . . . . . . . . 63
2.2 AUTOSAR Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
2.2.1 AUTOSAR Software-components . . . . . . . . . . . . . . . 63
2.2.2 Basic Software Modules . . . . . . . . . . . . . . . . . . . . . 64
2.2.3 Communication . . . . . . . . . . . . . . . . . . . . . . . . . 65
2.2.3.1 Communication Paradigms . . . . . . . . . . . . . . 65
2.2.3.2 Communication Modes . . . . . . . . . . . . . . . . . 65
2.2.3.3 Static Communication . . . . . . . . . . . . . . . . . 66
2.2.3.4 Multiplicity . . . . . . . . . . . . . . . . . . . . . . . . 66
2.2.4 Concurrency . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
2.3 The RTE Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
2.4 Design Decisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
3 RTE Generation Process 69
3.1 Contract Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
3.1.1 RTE Contract Phase . . . . . . . . . . . . . . . . . . . . . . . 74
3.1.2 Basic Software Scheduler Contract Phase . . . . . . . . . . 75
3.2 PreBuild Data Set Contract Phase . . . . . . . . . . . . . . . . . . . . 76
3.3 Edit ECU Configuration of the RTE . . . . . . . . . . . . . . . . . . . . 76
3.4 Generation Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
3.4.1 Basic Software Scheduler Generation Phase . . . . . . . . . 77
3.4.2 RTE Generation Phase . . . . . . . . . . . . . . . . . . . . . 78
3.4.3 Basic Software Module Description generation . . . . . . . . 79
3.4.3.1 Bsw Module Description . . . . . . . . . . . . . . . . 80
3.4.3.2 Bsw Internal Behavior . . . . . . . . . . . . . . . . . 81
3.4.3.3 Bsw Implementation . . . . . . . . . . . . . . . . . . 82
3.5 PreBuild Data Set Generation Phase . . . . . . . . . . . . . . . . . . . 83
3.6 PostBuild Data Set Generation Phase . . . . . . . . . . . . . . . . . . 83
3.7 RTE Configuration interaction with other BSW Modules . . . . . . . . . 84
4 RTE Functional Specification 86
4.1 Architectural concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4.1.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4.1.2 RTE and Data Types . . . . . . . . . . . . . . . . . . . . . . . 87
4.1.3 RTE and AUTOSAR Software-Components . . . . . . . . . . 88
5 of 1116
— AUTOSAR CONFIDENTIAL —
Document ID 084: AUTOSAR_SWS_RTE