没有合适的资源?快使用搜索试试~ 我知道了~
首页"Autosar DCM 诊断通信管理技术参考指南"
"Autosar DCM 诊断通信管理技术参考指南"
需积分: 44 31 下载量 11 浏览量
更新于2024-03-22
5
收藏 2.47MB PDF 举报
AUTOSAR Diagnostic Communication Manager(DCM)是一个用于管理诊断通信的软件模块,旨在提高汽车电子系统的可靠性和效率。通过DCM,车辆制造商和技术人员可以轻松地诊断车辆中的故障,并及时进行修复,保障车辆的正常运行。
该技术参考文档MICROSAR DCM Technical Reference Version 10.4由一组作者共同编写,包括Mishel Shishmanyan、Patrick Rieder、Vitalij Krieger、Thomas Dedler、Alexander Ditte、Savas Ates、Steffen Köhler、Simon Wolf、Amr Elazhary、Ulrich Volkmer、Amr Hegazi和Yves Grau。该文档由Vector Informatik GmbH发布,旨在为开发人员和技术人员提供关于MICROSAR DCM的详细信息和指导。
DCM的主要功能包括诊断控制单元(DCU)的访问管理、故障诊断和通信管理。通过DCM,车辆内的各种电子控制单元可以进行有效的通信,从而实现车辆各系统之间的协调和协作。此外,DCM还支持车辆制造商和技术人员对诊断通信进行灵活配置和优化,以满足不同车型和需求的要求。
MICROSAR DCM Technical Reference Version 10.4提供了完整的文档信息,包括作者、发布日期、文档版本等。该文档基于模板版本5.0.0,旨在为读者提供关于DCM的详细说明和操作指南。通过该文档,开发人员和技术人员可以更好地了解DCM的工作原理和应用场景,从而更好地应用和优化该技术模块。
总的来说,AUTOSAR DCM是一个用于管理诊断通信的关键软件模块,通过DCM,车辆制造商和技术人员可以更好地诊断和解决车辆故障,提高车辆的可靠性和效率。MICROSAR DCM Technical Reference Version 10.4为开发人员提供了详细的操作指南和说明,帮助他们更好地理解和应用DCM技术,从而为汽车电子系统的发展和优化做出贡献。
Technical Reference MICROSAR DCM
© 2018 Vector Informatik GmbH Version 10.4 16
based on template version 5.0.0
Contents
1 Component History .................................................................................................... 32
2 Introduction................................................................................................................. 35
2.1 How to Read This Document ........................................................................... 35
2.1.1 DCM Integration and Basic Operation .............................................. 35
2.1.2 Diagnostic Service Documentation ................................................... 35
2.1.3 API Definitions ................................................................................. 35
2.1.4 DCM Configuration Parameter Descriptions ..................................... 36
2.2 Architecture Overview ...................................................................................... 36
3 Functional Description ............................................................................................... 38
3.1 Features .......................................................................................................... 38
3.2 Initialization ...................................................................................................... 39
3.3 States .............................................................................................................. 39
3.4 Main Functions ................................................................................................ 39
3.4.1 Split Task Functions ......................................................................... 39
3.4.1.1 Functionality .................................................................. 39
3.4.1.2 Configuration Aspects .................................................... 40
3.4.1.3 Integration Aspects ........................................................ 40
3.5 Error Handling .................................................................................................. 40
3.5.1 Development Error Reporting ........................................................... 40
3.5.2 Production Code Error Reporting ..................................................... 43
4 Integration ................................................................................................................... 44
4.1 Scope of Delivery ............................................................................................. 44
4.1.1 Static Files ....................................................................................... 44
4.1.2 Dynamic Files .................................................................................. 45
4.2 Include Structure .............................................................................................. 46
4.3 Compiler Abstraction and Memory Mapping ..................................................... 46
4.4 Critical Sections ............................................................................................... 48
4.5 Considerations Using Request- and ResponseData Pointers in a Call-back .... 48
5 Diagnostic Service Implementation........................................................................... 50
5.1 RequestCurrentPowertrainDiagnosticData ($01).............................................. 51
5.1.1 Functionality ..................................................................................... 51
5.1.2 Required Interfaces .......................................................................... 51
5.1.3 Implementation Aspects ................................................................... 51
5.1.4 Configuration Aspects ...................................................................... 51
5.2 RequestPowertrainFreezeFrameData ($02) ..................................................... 53
5.2.1 Functionality ..................................................................................... 53
Technical Reference MICROSAR DCM
© 2018 Vector Informatik GmbH Version 10.4 17
based on template version 5.0.0
5.2.2 Required Interfaces .......................................................................... 53
5.2.3 Implementation Aspects ................................................................... 53
5.2.4 Configuration Aspects ...................................................................... 53
5.3 RequestEmissionRelatedDTC ($03) ................................................................ 55
5.3.1 Functionality ..................................................................................... 55
5.3.2 Required Interfaces .......................................................................... 55
5.3.3 Implementation Aspects ................................................................... 55
5.3.4 Configuration Aspects ...................................................................... 55
5.4 ClearEmissionRelatedDTC ($04) ..................................................................... 56
5.4.1 Functionality ..................................................................................... 56
5.4.2 Required Interfaces .......................................................................... 56
5.4.3 Implementation Aspects ................................................................... 56
5.4.4 Configuration Aspects ...................................................................... 56
5.5 RequestOnBoardMonitorTestResults ($06) ...................................................... 57
5.5.1 Functionality ..................................................................................... 57
5.5.2 Required Interfaces .......................................................................... 57
5.5.3 Implementation Aspects ................................................................... 57
5.5.4 Configuration Aspects ...................................................................... 58
5.6 RequestEmissionRelatedDTCsDetectedDuringCurrentOrLastDrivingCycle
($07) ................................................................................................................ 59
5.6.1 Functionality ..................................................................................... 59
5.6.2 Required Interfaces .......................................................................... 59
5.6.3 Implementation Aspects ................................................................... 59
5.6.4 Configuration Aspects ...................................................................... 59
5.7 RequestControlOfOnBoardSystemTestOrComponent ($08) ............................ 60
5.7.1 Functionality ..................................................................................... 60
5.7.2 Required Interfaces .......................................................................... 60
5.7.3 Implementation Aspects ................................................................... 60
5.7.4 Configuration Aspects ...................................................................... 60
5.8 RequestVehicleInformation ($09) ..................................................................... 62
5.8.1 Functionality ..................................................................................... 62
5.8.2 Required Interfaces .......................................................................... 62
5.8.3 Implementation Aspects ................................................................... 62
5.8.4 Configuration Aspects ...................................................................... 62
5.9 RequestEmissionRelatedDTCsWithPermanentStatus ($0A) ............................ 64
5.9.1 Functionality ..................................................................................... 64
5.9.2 Required Interfaces .......................................................................... 64
5.9.3 Implementation Aspects ................................................................... 64
5.9.4 Configuration Aspects ...................................................................... 64
5.10 DiagnosticSessionControl ($10) ....................................................................... 65
5.10.1 Functionality ..................................................................................... 65
Technical Reference MICROSAR DCM
© 2018 Vector Informatik GmbH Version 10.4 18
based on template version 5.0.0
5.10.2 Required Interfaces .......................................................................... 65
5.10.3 Implementation Aspects ................................................................... 65
5.10.4 Configuration Aspects ...................................................................... 65
5.11 EcuReset ($11) ................................................................................................ 67
5.11.1 Functionality ..................................................................................... 67
5.11.2 Required Interfaces .......................................................................... 67
5.11.3 Implementation Aspects ................................................................... 67
5.11.4 Configuration Aspects ...................................................................... 68
5.12 ClearDiagnosticInformation ($14) ..................................................................... 69
5.12.1 Functionality ..................................................................................... 69
5.12.2 Required Interfaces .......................................................................... 69
5.12.3 Implementation Aspects ................................................................... 69
5.12.4 Configuration Aspects ...................................................................... 69
5.13 ReadDiagnosticInformation ($19) ..................................................................... 70
5.13.1 Functionality ..................................................................................... 70
5.13.2 Required Interfaces .......................................................................... 70
5.13.3 Implementation Aspects ................................................................... 70
5.13.3.1 Reporting Stored DTC Environment Data ...................... 71
5.13.4 Configuration Aspects ...................................................................... 71
5.14 ReadDataByIdentifier ($22) .............................................................................. 73
5.14.1 Functionality ..................................................................................... 73
5.14.2 Required Interfaces .......................................................................... 73
5.14.3 Implementation Aspects ................................................................... 73
5.14.4 Configuration Aspects ...................................................................... 74
5.15 ReadMemoryByAddress ($23) ......................................................................... 76
5.15.1 Functionality ..................................................................................... 76
5.15.2 Required Interfaces .......................................................................... 76
5.15.3 Implementation Aspects ................................................................... 76
5.15.4 Configuration Aspects ...................................................................... 77
5.16 ReadScalingDataByIdentifier ($24) .................................................................. 77
5.16.1 Functionality ..................................................................................... 77
5.16.2 Required Interfaces .......................................................................... 77
5.16.3 Implementation Aspects ................................................................... 77
5.16.4 Configuration Aspects ...................................................................... 78
5.17 SecurityAccess ($27) ....................................................................................... 79
5.17.1 Functionality ..................................................................................... 79
5.17.2 Required Interfaces .......................................................................... 79
5.17.3 Implementation Aspects ................................................................... 79
5.17.4 Configuration Aspects ...................................................................... 80
5.18 CommunicationControl ($28) ........................................................................... 82
5.18.1 Functionality ..................................................................................... 82
Technical Reference MICROSAR DCM
© 2018 Vector Informatik GmbH Version 10.4 19
based on template version 5.0.0
5.18.2 Required Interfaces .......................................................................... 82
5.18.3 Implementation Aspects ................................................................... 82
5.18.4 Configuration Aspects ...................................................................... 83
5.19 ReadDataByPeriodicIdentifier ($2A)................................................................. 84
5.19.1 Functionality ..................................................................................... 84
5.19.2 Required Interfaces .......................................................................... 84
5.19.3 Implementation Aspects ................................................................... 84
5.19.4 Configuration Aspects ...................................................................... 85
5.20 DynamicallyDefineDataIdentifier ($2C) ............................................................ 87
5.20.1 Functionality ..................................................................................... 87
5.20.2 Required Interfaces .......................................................................... 87
5.20.3 Implementation Aspects ................................................................... 87
5.20.4 Configuration Aspects ...................................................................... 88
5.21 WriteDataByIdentifier ($2E).............................................................................. 89
5.21.1 Functionality ..................................................................................... 89
5.21.2 Required Interfaces .......................................................................... 89
5.21.3 Implementation Aspects ................................................................... 89
5.21.4 Configuration Aspects ...................................................................... 90
5.22 InputOutputControlByIdentifier ($2F)................................................................ 91
5.22.1 Functionality ..................................................................................... 91
5.22.2 Required Interfaces .......................................................................... 91
5.22.3 Implementation Aspects ................................................................... 91
5.22.4 Configuration Aspects ...................................................................... 93
5.23 RoutineControl ($31) ........................................................................................ 95
5.23.1 Functionality ..................................................................................... 95
5.23.2 Required Interfaces .......................................................................... 95
5.23.3 Implementation Aspects ................................................................... 95
5.23.4 Configuration Aspects ...................................................................... 96
5.24 WriteMemoryByAddress ($3D) ......................................................................... 97
5.24.1 Functionality ..................................................................................... 97
5.24.2 Required Interfaces .......................................................................... 97
5.24.3 Implementation Aspects ................................................................... 97
5.24.4 Configuration Aspects ...................................................................... 98
5.25 TesterPresent ($3E) ......................................................................................... 99
5.25.1 Functionality ..................................................................................... 99
5.25.2 Required Interfaces .......................................................................... 99
5.25.3 Implementation Aspects ................................................................... 99
5.25.4 Configuration Aspects .................................................................... 100
5.26 ControlDTCSetting ($85) ................................................................................ 101
5.26.1 Functionality ................................................................................... 101
5.26.2 Required Interfaces ........................................................................ 101
Technical Reference MICROSAR DCM
© 2018 Vector Informatik GmbH Version 10.4 20
based on template version 5.0.0
5.26.3 Implementation Aspects ................................................................. 101
5.26.4 Configuration Aspects .................................................................... 101
5.27 ResponseOnEvent ($86) ................................................................................ 103
5.27.1 Functionality ................................................................................... 103
5.27.2 Required Interfaces ........................................................................ 103
5.27.3 Implementation Aspects ................................................................. 103
5.27.3.1 OnDtcStatusChange .................................................... 106
5.27.3.2 OnChangeOfDataIdentifier........................................... 106
5.27.4 Configuration Aspects .................................................................... 107
6 API Description ......................................................................................................... 109
6.1 Type Definitions ............................................................................................. 109
6.1.1 Dcm_ProtocolType ......................................................................... 109
6.1.2 Dcm_RecoveryInfoType ................................................................. 109
6.1.3 Dcm_VsgIdentifierType ................................................................... 111
6.1.4 Dcm_VsgStateType ........................................................................ 111
6.1.5 Dcm_InputOutputControlParameterType ........................................ 111
6.1.6 Dcm_IOOperationResponseType................................................... 112
6.1.7 Dcm_IOOperationRequest_< DidName/DidDataName >type ........ 112
6.2 Services provided by DCM ............................................................................. 113
6.2.1 Administrative ................................................................................ 113
6.2.1.1 Dcm_Init() .................................................................... 113
6.2.1.2 Dcm_MainFunction() .................................................... 113
6.2.1.3 Dcm_MainFunctionTimer() ........................................... 114
6.2.1.4 Dcm_MainFunctionWorker() ........................................ 115
6.2.1.5 Dcm_GetVersionInfo() ................................................. 115
6.2.1.6 Dcm_InitMemory() ....................................................... 116
6.2.1.7 Dcm_ProvideRecoveryStates() .................................... 117
6.2.2 SWC .............................................................................................. 117
6.2.2.1 Dcm_GetActiveProtocol() ............................................ 117
6.2.2.2 Dcm_GetSecurityLevel() .............................................. 118
6.2.2.3 Dcm_GetSesCtrlType() ................................................ 119
6.2.2.4 Dcm_ResetToDefaultSession() .................................... 119
6.2.2.5 Dcm_TriggerOnEvent() ................................................ 120
6.2.2.6 Dcm_GetSecurityLevelFixedBytes() ............................ 121
6.2.2.7 Dcm_SetActiveDiagnostic() ......................................... 122
6.2.2.8 Dcm_GetRequestKind() ............................................... 123
6.2.2.9 Dcm_VsgSetSingle() .................................................... 124
6.2.2.10 Dcm_VsgSetMultiple() ................................................. 124
6.2.2.11 Dcm_VsgIsActive() ...................................................... 125
6.2.2.12 Dcm_VsgIsActiveAnyOf() ............................................ 125
剩余267页未读,继续阅读
点击了解资源详情
点击了解资源详情
点击了解资源详情
2022-07-13 上传
2024-04-17 上传
2023-05-25 上传
2018-12-26 上传
2023-09-16 上传
2023-08-26 上传
.桃花依旧笑春风
- 粉丝: 459
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- JavaScript实现的高效pomodoro时钟教程
- CMake 3.25.3版本发布:程序员必备构建工具
- 直流无刷电机控制技术项目源码集合
- Ak Kamal电子安全客户端加载器-CRX插件介绍
- 揭露流氓软件:月息背后的秘密
- 京东自动抢购茅台脚本指南:如何设置eid与fp参数
- 动态格式化Matlab轴刻度标签 - ticklabelformat实用教程
- DSTUHack2021后端接口与Go语言实现解析
- CMake 3.25.2版本Linux软件包发布
- Node.js网络数据抓取技术深入解析
- QRSorteios-crx扩展:优化税务文件扫描流程
- 掌握JavaScript中的算法技巧
- Rails+React打造MF员工租房解决方案
- Utsanjan:自学成才的UI/UX设计师与技术博客作者
- CMake 3.25.2版本发布,支持Windows x86_64架构
- AR_RENTAL平台:HTML技术在增强现实领域的应用
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功