没有合适的资源?快使用搜索试试~ 我知道了~
首页AUTOSAR_SWS_COM.pdf
AUTOSAR_SWS_COM.pdf
需积分: 49 385 浏览量
更新于2023-05-29
评论 1
收藏 1.45MB PDF 举报
autosar 标准的 Communication stack 详细描述文档
资源详情
资源评论
资源推荐

Specification of Communication
V4.2.0
R4.0 Rev 3
Document Title Specification of
Communication
Document Owner
AUTOSAR
Document Responsibility
AUTOSAR
Document Identification No
015
Document Classification
Standard
Document Version
4.2.0
Document Status
Final
Part of Release
4.0
Revision
3
Document Change History
Date Version Changed by Change Description
16.11.2011 4.2.0 AUTOSAR
Administration
Several minor changes and bug-fixes
Clarification and minor extensions of
transmission mode usage and
activation
Clarification and extension of transfer
properties
Added retry mechanism for failed
transmission requests
21.10.2010 4.1.0 AUTOSAR
Administration
Update: COM696, COM697, COM442,
COM017_Conf and COM217,
COM550_Conf, COM115, COM260,
COM708, COM709_Conf, COM469,
COM698, COM702, COM703,
COM704, COM705 , COM706,
COM549_Conf, COM700, COM346,
COM198, COM691, COM654,
COM655, COM692, COM693,
COM459 (Table 12), COM005,
COM053, COM673, COM175_Conf,
COM401, Com_IpduGroupVector in
Chapter 8.2.5, COM495, COM469,
COM263_Conf, COM232_Conf,
COM707
Remove COM626, COM329
Add COM731, COM733, COM734,
COM732
30.11.2009 4.0.0 AUTOSAR
Administration
Added support for large data types
Added support for communication
protection
Revised mode management interface
Many clarifications and
corrections based on SWS
1 of 179 Document ID 015: AUTOSAR_SWS_COM
– AUTOSAR confidential –

Specification of Communication
V4.2.0
R4.0 Rev 3
improvement, validation and
conformance test activities
Legal disclaimer revised
23.06.2008 3.0.2 AUTOSAR
Administration
Legal disclaimer revised
22.01.2008 3.0.1 AUTOSAR
Administration
Removed Figure 19, which was included
twice
30.11.2007 3.0.0 AUTOSAR
Administration
Removal of Internal Communication
feature
Revision of AUTOSAR COM MODULE
configuration
Revision of Signal Gateway
configuration
Enhanced maximal
I-PDU length for FlexRay
Harmonization of callback-interface to
RTE
Clarifications and bug fixes
Document meta information extended
Small layout adaptations made
30.01.2007 2.1.0 AUTOSAR Clarifications of requirements throughout
the whole document. Chapter 11 contains
a detailed list of the made modifications.
No new major features were added since
release 2.0.
“Advice for users” revised
“Revision Information” added
Administration
Legal disclaimer revised
21.04.2006 2.0.0 AUTOSAR
Administration
Document structure adapted to common
Release 2.0 SWS Template.
Integration of signal gateway
Major updates in configuration, error
handling, filtering, transmission mode
switches, callouts, update-bits, deadline
monitoring and initialization
31.05.2005 1.0.0 AUTOSAR
Administration
Initial release
2 of 179 Document ID 015: AUTOSAR_SWS_COM
– AUTOSAR confidential –

Specification of Communication
V4.2.0
R4.0 Rev 3
Disclaimer
This specification and the material contained in it, as released by AUTOSAR, is for
the purpose of information 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
presence 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.
3 of 179 Document ID 015: AUTOSAR_SWS_COM
– AUTOSAR confidential –

Specification of Communication
V4.2.0
R4.0 Rev 3
Table of Contents
1 Introduction and functional overview ................................................................... 9
2 Acronyms, abbreviations and definitions ........................................................... 10
2.1 Acronyms and abbreviations ...................................................................... 10
2.2 Definitions .................................................................................................. 10
3 Related documentation...................................................................................... 12
3.1 Deliverables of AUTOSAR ......................................................................... 12
3.2 Related standards and norms .................................................................... 13
4 Constraints and assumptions ............................................................................ 14
4.1 Limitations.................................................................................................. 14
4.2 Applicability to car domains........................................................................ 14
5 Dependencies to other modules........................................................................ 15
5.1 PDU Router................................................................................................ 15
5.2 Runtime Environment (RTE) ...................................................................... 16
5.3 File structure .............................................................................................. 16
5.3.1 Code file structure............................................................................... 16
5.3.2 Header file structure............................................................................ 16
6 Requirements traceability.................................................................................. 18
7 Functional specification ..................................................................................... 32
7.1 Introduction ................................................................................................ 32
7.1.1 Signal values....................................................................................... 32
7.2 General functionality................................................................................... 32
7.2.1 OSEK-COM......................................................................................... 32
7.2.2 Endianness conversion and sign extension ........................................ 34
7.2.3 Filtering ............................................................................................... 35
7.2.4 Signal Gateway................................................................................... 38
7.3 Configuration.............................................................................................. 38
7.4 Normal operation........................................................................................ 38
7.4.1 Start-up behavior................................................................................. 38
7.4.1.1 Preconditions................................................................................... 38
7.4.1.2 Initialization...................................................................................... 38
7.4.1.3 Initialization of not used areas of an I-PDU ..................................... 39
7.4.1.4 Initialization of signals and Update-bits ........................................... 39
7.4.1.5 Initialization of I-PDU groups ........................................................... 39
7.4.2 Shutdown behavior ............................................................................. 39
7.4.2.1 De-initialization ................................................................................ 39
7.4.3 Communication modes ....................................................................... 40
7.4.3.1 Transfer Properties and I-PDU Transmission Mode........................ 40
7.4.3.2 Link to the VFB specification ........................................................... 42
7.4.3.3 Selection of the Transmission Mode for one specific I-PDU............ 42
7.4.3.4 Signal flow and Transmission Mode Selection ................................ 45
7.4.3.5 Replication of Signal Transmission Requests.................................. 47
4 of 179 Document ID 015: AUTOSAR_SWS_COM
– AUTOSAR confidential –
7.4.3.6 Retry Failed Transmission Requests............................................... 48

Specification of Communication
V4.2.0
R4.0 Rev 3
7.4.3.7 Use Cases for communication modes ............................................. 50
7.4.4 Signal invalidation mechanism............................................................ 52
7.4.4.1 Transmission of an invalidated signal.............................................. 52
7.4.4.2 Reception of an invalidated signal................................................... 53
7.4.5 Handling of I-PDUs ............................................................................. 54
7.4.5.1 I-PDU group definitions ................................................................... 54
7.4.5.2 Starting of I-PDU groups ................................................................. 55
7.4.5.3 Stopping of I-PDU groups................................................................ 57
7.4.5.4 Signal indication (Unpacking of I-PDUs).......................................... 58
7.4.5.5 Minimum Delay Timer (MDT)........................................................... 59
7.4.6 Deadline Monitoring ............................................................................ 60
7.4.6.1 Reception Deadline Monitoring........................................................ 61
7.4.6.2 Transmission Deadline Monitoring .................................................. 63
7.5 Map Complex Data Types to I-PDUs – Signal Groups............................... 65
7.5.1 Initialization ......................................................................................... 65
7.5.2 Transmission....................................................................................... 65
7.5.3 Reception............................................................................................ 66
7.5.4 Notifications......................................................................................... 66
7.5.5 Collection of the attributes of a signal group ....................................... 67
7.6 Support of large data types ........................................................................ 67
7.6.1 Transmission of large signals/ I-PDUs ................................................ 68
7.6.2 Reception of large signals/ I-PDUs ..................................................... 68
7.7 Support of dynamic length signals.............................................................. 68
7.7.1 Transmission of dynamic length signals/ I-PDUs ................................ 69
7.7.2 Reception of dynamic length signals/ I-PDUs ..................................... 69
7.8 Interface between AUTOSAR COM module and the PDU Router ............. 70
7.9 Signal status information............................................................................ 70
7.9.1 Identify if a signal is updated by the sender ........................................ 70
7.9.1.1 Sender Side..................................................................................... 71
7.9.1.2 Receiver Side .................................................................................. 72
7.10 Data sequence control ............................................................................... 72
7.10.1 Sender Side ........................................................................................ 72
7.10.2 Receiver Side...................................................................................... 73
7.11 Communication protection.......................................................................... 74
7.11.1 Sender Side ........................................................................................ 74
7.11.2 Receiver Side
...................................................................................... 74
7.11.3 Constraints.......................................................................................... 75
7.12 Signal Gateway .......................................................................................... 75
7.12.1 Dealing with signals ............................................................................ 76
7.12.2 Dealing with signal groups .................................................................. 76
7.12.3 Routing of out timed signals and signal groups................................... 76
7.12.4 Handling of update-bits ....................................................................... 77
7.12.5 Decoupling signal gateway ................................................................. 77
7.13 Error classification...................................................................................... 78
7.14 Error detection............................................................................................ 78
7.15 Error notification ......................................................................................... 78
7.16 Error handling............................................................................................. 79
7.17 Debugging.................................................................................................. 79
7.18 The AUTOSAR COM module’s Interaction Model...................................... 79
8 API specification................................................................................................ 83
5 of 179 Document ID 015: AUTOSAR_SWS_COM
– AUTOSAR confidential –
剩余178页未读,继续阅读
















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

评论0