基本信息
源码名称:autosar xcp 规范.pdf
源码大小:1.17M
文件格式:.pdf
开发语言:C/C++
更新时间:2020-07-23
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 3 元×
微信扫码支付:3 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
UTOSAR_SWS_XCP.pdf
UTOSAR_SWS_XCP.pdf
Table of Contents 1 Introduction and functional overview ................................................................... 6 2 Acronyms and abbreviations ............................................................................... 7 3 Related documentation........................................................................................ 8 3.1 Input documents............................................................................................ 8 3.1.1 Related standards and norms................................................................. 8 3.2 Related specification ..................................................................................... 9 4 Constraints and assumptions ............................................................................ 10 4.1 Limitations ................................................................................................... 10 4.2 Applicability to car domains ......................................................................... 10 5 Dependencies to other modules........................................................................ 11 5.1 AUTOSAR RTE (BSW Scheduler) .............................................................. 11 5.2 AUTOSAR FlexRay Interface ...................................................................... 11 5.3 AUTOSAR CAN Interface............................................................................ 11 5.4 AUTOSAR SocketAdaptor........................................................................... 11 5.5 AUTOSAR RTE........................................................................................... 11 5.6 AUTOSAR OS............................................................................................. 11 5.7 AUTOSAR Diagnostic Event Manager ........................................................ 11 5.8 AUTOSAR Default Error Tracer .................................................................. 12 5.9 File structure................................................................................................ 12 5.9.1 Code file structure................................................................................. 12 5.9.2 Header file structure.............................................................................. 12 6 Requirements traceability .................................................................................. 14 7 Functional specification ..................................................................................... 19 7.1 XCP on CAN ............................................................................................... 22 7.2 XCP on FlexRay.......................................................................................... 22 7.3 XCP on Ethernet.......................................................................................... 24 7.4 General Requirements ................................................................................ 24 7.5 Error classification ....................................................................................... 25 7.5.1 Development Errors .............................................................................. 25 7.5.2 Runtime Errors...................................................................................... 25 7.5.3 Transient Faults .................................................................................... 25 7.5.4 Production Errors .................................................................................. 25 7.6 Error detection............................................................................................. 26 7.7 Error notification .......................................................................................... 26 7.8 Version checking ......................................................................................... 26 8 API specification................................................................................................ 27 8.1 Imported types............................................................................................. 27 8.2 Type definitions ........................................................................................... 27 8.2.1 Xcp_ConfigType ................................................................................... 27 8.2.2 Xcp_Transmission Mode Type.............................................................. 27 8.3 Function definitions...................................................................................... 28 Specification of Module XCP AUTOSAR CP Release 4.3.1 5 of 62 Document ID 412: AUTOSAR_SWS_XCP - AUTOSAR confidential - 8.3.1 Xcp_Init................................................................................................. 28 8.3.2 Xcp_GetVersionInfo.............................................................................. 28 8.3.3 Xcp_SetTransmissionMode .................................................................. 29 8.4 Call-back notifications.................................................................................. 30 8.4.1 Xcp_<Lo>RxIndication.......................................................................... 30 8.4.2 Xcp_<Lo>TxConfirmation ..................................................................... 30 8.4.3 Xcp_<Lo>TriggerTransmit .................................................................... 31 8.5 Scheduled functions .................................................................................... 32 8.5.1 Xcp_MainFunction ................................................................................ 32 8.6 Expected Interfaces..................................................................................... 33 8.6.1 Mandatory Interfaces ............................................................................ 33 8.6.2 Optional Interfaces................................................................................ 33 8.6.3 Configurable interfaces ......................................................................... 33 9 Sequence diagrams .......................................................................................... 34 9.1 XCP on FlexRay.......................................................................................... 34 9.1.1 Xcp on FlexRay Transmit...................................................................... 34 9.1.2 Xcp on FlexRay Receive Indication ...................................................... 34 9.2 XCP on CAN ............................................................................................... 35 9.2.1 Xcp on CAN Transmit ........................................................................... 35 9.2.2 Xcp on CAN Transmit Confirmation...................................................... 35 9.2.3 Xcp on CAN Receive Indication............................................................ 35 9.3 XCP on Ethernet.......................................................................................... 36 9.3.1 Xcp on Ethernet Receive Indication...................................................... 36 10 Configuration specification............................................................................. 37 10.1 How to read this chapter .......................................................................... 37 10.2 Containers and configuration parameters ................................................ 37 10.2.1 Xcp .................................................................................................... 38 10.2.2 XcpGeneral........................................................................................ 38 10.2.3 XcpConfig.......................................................................................... 46 10.2.4 XcpDaqList ........................................................................................ 47 10.2.5 XcpDto............................................................................................... 48 10.2.6 XcpOdt............................................................................................... 49 10.2.7 XcpOdtEntry ...................................................................................... 50 10.2.8 XcpEventChannel.............................................................................. 54 10.2.9 XcpPdu.............................................................................................. 56 10.2.10 XcpRxPdu.......................................................................................... 57 10.2.11 XcpTxPdu .......................................................................................... 58 10.2.12 XcpCommunicationChannel .............................................................. 59 10.3 Published Information............................................................................... 61 11 Not applicable requirements .......................................................................... 62