博文

AUTOSAR_SWS_DiagnosticCommunicationManager

图片
Specification of Diagnostic Communication Manager 简介和功能概述 本文档描述了 AUTOSAR 基础软件模块 Dcm(诊断通信管理器)的功能、API 和配置。Dcm 模块为诊断服务提供了通用 API。Dcm 模块的功能可供外部诊断工具在开发、生产或服务过程中使用。 Figure 1.1: Overview of the communication between the external diagnostic tools and the onboard AUTOSAR Application Dcm 模块保障诊断数据流并管理诊断状态(特别是诊断会话和安全访问的状态)。此外,根据诊断状态,Dcm 模块会检查是否对所请求的诊断服务进行支持以及该服务是否应在当前会话中被执行。Dcm 模块提供下表中的 OSI 的第 5 层至第 7 层。 Table 1.1: Diagnostic protocols and OSI-Layers 在 OSI 的第 7 层,Dcm 模块提供了一套完整的 ISO 14229-1 [1] 服务。此外,Dcm 模块还支持在文档 SAE J1979 [3] 和   ISO 15031-5 [2] 中被定义的 OBD 服务 $01 - $0A 的机制。借助这些服务,AUTOSAR 规范中的 OBD 功能能够满足全球所有轻型车辆的 OBD 法规(California OBDII、EOBD、Japan OBD 以及其他所有法规)。在 OSI 的第 5 层,Dcm 模块处理以下规范中与网络无关的部分: ISO15765-3 [4]: Implementation of unified diagnostic services (UDS on CAN)  ISO15765-4 [5]: Requirements for emission-related systems, Chapter 5 "Session Layer" 在 AUTOSAR 架构中,Dcm 模块位于通信服务(服务层)中。 Figure 1.2: Position of the Dcm module in AUTOSAR Architecture Dcm 模块与网络...