没有合适的资源?快使用搜索试试~ 我知道了~
AUTOSAR-SWS-E2ELibrary.pdf v4.2.2
需积分: 0 1 下载量 26 浏览量
2024-02-22
16:30:20
上传
评论
收藏 2.91MB PDF 举报
温馨提示
Specification of SW-C End-to-End Communication Protection Library AUTOSAR Release 4.2.2
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/release/download_crawler_static/88864660/bg1.jpg)
Specification of SW-C End-to-End
Communication Protection Library
AUTOSAR Release 4.2.2
1 of 248 Document ID 428: AUTOSAR_SWS_E2ELibrary
- AUTOSAR confidential -
Document Change History
Release
Changed by
Change Description
4.2.2
AUTOSAR
Release
Management
Introduced new E2E state machine profile
status E2E_P_NONEWDATA. Adapted figures,
API tables and mapping functions. This solves
an issue with deterministic startup of the state
machine.
Updated Figure 7-7, added behavior in case
ReceivedCounter is out of range.
Assigned new specification ID
SWS_E2E_00478 to duplicate specification
SWS_E2E_00324 (specification of profile 4).
Fixed figure 7-6 “Calculate CRC over Data ID
and Data”, which was already fixed in R4.1.2
but falsely included as of R4.1.1.
4.2.1
AUTOSAR
Release
Management
Introduction of E2E profiles 4, 5, 6
Introduction of E2E state machine
Introduction of init functions and status mapping
functions for profiles 1, 2
Overview of wrapper, by means of several new
diagrams.
4.1.3
AUTOSAR
Release
Management
Editorial changes
4.1.2
AUTOSAR
Release
Management
Correction in E2E variant 1C
Various minor corrections
Editorial changes
4.1.1
AUTOSAR
Release
Management
Full support for E2E protection at signal group
level
Removed dependency to Rte_IsUpdated
Changed recommendations about the maximum
data lengths
Document Title
Specification of SW-C End-
to-End Communication
Protection Library
Document Owner
AUTOSAR
Document Responsibility
AUTOSAR
Document Identification No
428
Document Classification
Standard
Document Status
Final
Part of AUTOSAR Release
4.2.2
![](https://csdnimg.cn/release/download_crawler_static/88864660/bg2.jpg)
Specification of SW-C End-to-End
Communication Protection Library
AUTOSAR Release 4.2.2
2 of 248 Document ID 428: AUTOSAR_SWS_E2ELibrary
- AUTOSAR confidential -
Document Change History
Release
Changed by
Change Description
Addition of initialization functions to the
redundant wrapper
Corrections in code examples
4.1.1
AUTOSAR
Administration
Reworked according to the new
SWS_BSWGeneral
New indexing scheme for requirements
Extension of E2E Profile 1 to support 12-bit
Data IDs (variant 1C)
Alignment with ISO 26262 (terms,
communication faults)
Quality ameliorations (due to document review)
Clarification in the configuration of E2E
parameters
4.0.3
AUTOSAR
Administration
E2E Profile 3 removed (not backward
compatible)
Several bugfixes in of E2E Protection Wrapper
API (not backward compatible)
Modified return values of E2E Protection
Wrapper API (not backward compatible)
Addition of init API for the E2E Protection
Wrapper
Several bugfixes and modifications in code
examples of E2E Protection Wrapper
Extensions in configuration, making sender and
receiver more independent
Bugfix in the profile 1 alternating mode CRC
calculation
Clarifications with in E2E Profile 1 with respect
to the CRC
Several minor bug fixes
Several optimizations in the text descriptions
New template with requirements traceability
3.1.5
AUTOSAR
Administration
Corrected the wrapper configuration.
Corrected the code example for the usage of
the wrapper.
3.1.4
AUTOSAR
Administration
Initial Release
![](https://csdnimg.cn/release/download_crawler_static/88864660/bg3.jpg)
Specification of SW-C End-to-End
Communication Protection Library
AUTOSAR Release 4.2.2
3 of 248 Document ID 428: AUTOSAR_SWS_E2ELibrary
- AUTOSAR confidential -
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.
![](https://csdnimg.cn/release/download_crawler_static/88864660/bg4.jpg)
Specification of SW-C End-to-End
Communication Protection Library
AUTOSAR Release 4.2.2
4 of 248 Document ID 428: AUTOSAR_SWS_E2ELibrary
- AUTOSAR confidential -
Table of Contents
1 Introduction and functional overview ................................................................... 8
2 Acronyms and abbreviations ............................................................................. 10
3 Related documentation...................................................................................... 11
3.1 Input documents ......................................................................................... 11
3.2 Related standards and norms .................................................................... 12
4 Constraints and assumptions ............................................................................ 13
4.1 Limitations .................................................................................................. 13
4.1.1 Limitations when invoking library at the level of data elements ............. 13
4.2 Applicability to automotive domains ........................................................... 14
4.3 Background information concerning functional safety ................................ 14
4.3.1 Functional safety and communication ................................................... 14
4.3.2 Sources of faults in E2E communication ............................................... 15
4.3.3 Communication faults ........................................................................... 16
4.4 Implementation of the E2E Library ............................................................. 17
5 Dependencies to/from other modules ................................................................ 18
5.1.1 Required file structure ........................................................................... 18
5.1.2 Dependency on CRC library ................................................................. 19
6 Requirements traceability .................................................................................. 20
7 Functional specification ..................................................................................... 25
7.1 Overview of communication protection ....................................................... 25
7.2 Overview of E2E Profiles ............................................................................ 26
7.2.1 Error classification ................................................................................. 27
7.2.2 Error detection ...................................................................................... 28
7.3 Specification of E2E Profile 1 ..................................................................... 28
7.3.1 Data Layout........................................................................................... 30
7.3.2 Counter ................................................................................................. 30
7.3.3 Data ID .................................................................................................. 31
7.3.4 CRC calculation .................................................................................... 32
7.3.5 Timeout detection ................................................................................. 33
7.3.6 E2E Profile 1 variants ........................................................................... 33
7.3.7 E2E_P01Protect ................................................................................... 34
7.3.8 Calculate CRC ...................................................................................... 35
7.3.9 E2E_P01Check ..................................................................................... 36
7.4 Specification of E2E Profile 2 ..................................................................... 38
7.4.1 E2E_P02Protect ................................................................................... 40
7.4.2 E2E_P02Check ..................................................................................... 42
7.5 Specification of E2E Profile 4 ..................................................................... 49
7.5.1 Data Layout........................................................................................... 50
7.5.2 Counter ................................................................................................. 50
7.5.3 Data ID .................................................................................................. 51
7.5.4 Length ................................................................................................... 52
7.5.5 CRC ...................................................................................................... 52
7.5.6 Timeout detection ................................................................................. 52
7.5.7 E2E Profile 4 variants ........................................................................... 52
![](https://csdnimg.cn/release/download_crawler_static/88864660/bg5.jpg)
Specification of SW-C End-to-End
Communication Protection Library
AUTOSAR Release 4.2.2
5 of 248 Document ID 428: AUTOSAR_SWS_E2ELibrary
- AUTOSAR confidential -
7.5.8 E2E_P04Protect ................................................................................... 52
7.5.9 E2E_P04Check ..................................................................................... 57
7.6 Specification of E2E Profile 5 ..................................................................... 62
7.6.1 Data Layout........................................................................................... 62
7.6.2 Counter ................................................................................................. 63
7.6.3 Data ID .................................................................................................. 64
7.6.4 Length ................................................................................................... 64
7.6.5 CRC ...................................................................................................... 64
7.6.6 Timeout detection ................................................................................. 64
7.6.7 E2E_P05Protect ................................................................................... 65
7.6.8 E2E_P05Check ..................................................................................... 70
7.7 Specification of E2E Profile 6 ..................................................................... 73
7.7.1 Data Layout........................................................................................... 74
7.7.2 Counter ................................................................................................. 74
7.7.3 Data ID .................................................................................................. 75
7.7.4 Length ................................................................................................... 76
7.7.5 CRC ...................................................................................................... 76
7.7.6 Timeout detection ................................................................................. 76
7.7.7 E2E_P06Protect ................................................................................... 76
7.7.8 E2E_P06Check ..................................................................................... 82
7.8 Specification of E2E state machine ............................................................ 86
7.8.1 Overview of the state machine .............................................................. 86
7.8.2 State machine specification .................................................................. 87
7.9 Version Check ............................................................................................ 91
8 API specification ................................................................................................ 93
8.1 Imported types............................................................................................ 93
8.2 Type definitions .......................................................................................... 93
8.2.1 E2E Profile 1 types ............................................................................... 94
8.2.2 E2E Profile 2 types ............................................................................... 98
8.2.3 E2E Profile 4 types ............................................................................. 102
8.2.4 E2E Profile 5 types ............................................................................. 105
8.2.5 E2E Profile 6 types ............................................................................. 108
8.2.6 E2E state machine types .................................................................... 111
8.3 Routine definitions .................................................................................... 113
8.3.1 E2E Profile 1 routines ......................................................................... 113
8.3.2 E2E Profile 2 routines ......................................................................... 117
8.3.3 E2E Profile 4 routines ......................................................................... 120
8.3.4 E2E Profile 5 routines ......................................................................... 123
8.3.5 E2E Profile 6 routines ......................................................................... 126
8.3.6 E2E State machine routines ............................................................... 129
8.3.7 Elementary protocol routines .............................................................. 131
8.3.8 Auxiliary Functions .............................................................................. 136
8.4 Call-back notifications .............................................................................. 137
8.5 Scheduled functions ................................................................................. 137
8.6 Expected Interfaces .................................................................................. 137
8.6.1 Mandatory Interfaces .......................................................................... 137
9 Sequence Diagrams for invoking E2E Library ................................................. 138
9.1 Sender ...................................................................................................... 138
剩余247页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
dogeggr
- 粉丝: 195
- 资源: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)