实例介绍
【实例简介】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
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论