Specification of Diagnostic Communication Manager, AUTOSAR R22-11, CP, No.18(2)

Specification of Diagnostic Communication Manager, AUTOSAR R22-11, CP, No.18


AUTOSARが、2022年の版、R22-11公開しました。公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

https://qiita.com/kaizen_nagoya/items/18471d0b340480fdcd42

下記は想定URLです。順次確認中です。

https://www.autosar.org/fileadmin/standards/classic/22-11/AUTOSAR_SWS_DiagnosticCommunicationManager.pdf

間違っていたら、いいね　を押していただいて、コメント欄にご報告くださると幸いです。
編集リクエストが、構造的な変更をしている最中に、構造的な編集リクエストをしていただくと、
何をどう直したらいいかわからなくなってしまいます。自動修復ツールがつくれていません。ごめんなさい。

https://www.autosar.org/

文書は検索してダウンロードすることができます。
クラウドサービスにありがちな、あるのにないかのような検索結果が出ることがあります。

https://www.autosar.org/nc/document-search/

AUTOSAR R22-11 Classic Platform 一覧はこちら。

Classic Platform Release Overview, AUTOSAR R22-11, CP, No.0(2)

https://qiita.com/kaizen_nagoya/items/80636f4ca7c16501803b


AUTOSAR R22-11 マラソン

https://qiita.com/kaizen_nagoya/items/988aa405a6fdd794fe53



Qiitaの記事の一覧は作成中です。

AUTOSAR R22-11 一覧（２）

https://qiita.com/kaizen_nagoya/items/6b0615884e954c65fb43


# Abstract Platformとの関係

ISO 各種規格に基づいた診断、通信の抽象的な定義をする。
必要があれば国際規格を改定する。

<この項は書きかけです。順次追記します。>

## 文書変更(Document Change) 
> •Diagnostic Extract shall be completed to describe multi-dimensional arrays and arrays with complex data types
• Update RoE to match latest ISO 14229-1
• Handling of Dem_GetNumberOfFreezeFrameRecords
• minor corrections / clarifications / editorial changes; For details please refer to the ChangeDocumentation

# 用語(terms)
|Term|Description|
|:--|:--|
|AddressAndLengthFormat Identifier|Defines the number of bytes used for the memoryAddress and memorySize parameter in the request messages.
|Application Layer |The Application Layer is placed above the RTE. Within the Application Layer the AUTOSAR Software-Components are placed.
|Atomic Sender/Receiver interface|An atomic sender-receiver interface can be used to group DID data elements into one record data element prototype. All data elements can be read or write having a single read or write operation.
|Channel |A link at which a data transfer can take place. If there is more than one Channel, there is normally some kind of ID assigned to the Channel.
|Concurrent TesterPresent |A UDS service TesterPresent with set suppressPosRspMsgIndicationBit (3E 80) which is received with functional addressing. It is also known as keep-alive logic..
|Diagnostic Channel| A link at which a data transfer between a diagnostic tool and an ECU can take place. Example: An ECU is connected via CAN and the diagnostic channel has an assigned CAN-ID. Diagnostic channels connected to other bus-systems such as MOST, FlexRay, LIN, etc. are also possible.
|External Diagnostic Tool |A device which is NOT permanently connected to the vehicle communication network. This External Diagnostic Tool can be connected to the vehicle for various purposes, as e.g. for: • development • manufacturing • service (in a garage) Example External Diagnostic Tools are: • a diagnostic tester • an OBD scan tool The External Diagnostic Tool is to be connected by a mechanic to gather information from ”inside” the car.
|Freeze Frame |A set of the vehicle/system operation conditions at a specific time.
|Functional Addressing| The diagnostic communication model where a group or all nodes of a specific communication network receive a message from one sending node (1-n communication). This model is also referred to as ’broadcast’ or ’multicast’. OBD communication will always be done in the Functional Addressing mode.
|Internal Diagnostic Tool| A device/ECU which is connected to the vehicle communication network. The Internal Diagnostic Tool can be used for: • advanced event tracking • advanced analysis • for service The behavior of the Internal Diagnostic Tool can be the same as of an External Diagnostic Tool. The notion of ”Internal Diagnostic Tool” does not imply that it is included in each ECU as an AUTOSAR Software-Component.
|Physical Addressing |The diagnostic communication model where a node of a specific communication network receives a message from one sending node (1-1 communication). This model is also referred to as ’unicast’.
|UDS Service |this refers to a UDS Service as defined in ISO14229-1 [1].
|OBD Scan tool| See definition External Diagnostic Tool.
|OBD Service| This refers to an OBD Service as defined in ISO15031-5 [2].
|OBD UDS DTC separation| The feature will report a different 3 byte DTC number for SAE J1979-2 based UDS communication than for none J1979-2 UDS communication.
|periodic transmission rate |Time interval value that defines the time between two calls of a periodic data identifier transmission. The value is configuration specific and there are separate values for fast, medium and slow periodic data transmission. The configured value is always an integer multiple of the Dcm main task time.
|API |Application Programming Interface
|CAN| Controller Area Network
|CEMR |ControlEnableMaskRecord
|Dcm |Diagnostic Communication Manager
|Dem |Diagnostic Event Manager
|Det |Default Error Tracer
|DID| Data Identifier
|DSD |Diagnostic Service Dispatcher (submodule of the Dcm module)
|DSL| Diagnostic Session Layer (submodule of the Dcm module)
|DSP|Diagnostic Service Processing (submodule of the Dcm module)
|DTC |Diagnostic Trouble Codes
|ID| Identifier
|LIN |Local Interconnect Network
|MCU |Micro-Controller Unit
|MOST| Media Orientated System Transport
|NRC| Negative Response Code
|OBD| On-Board Diagnosis
|OSI| Open Systems Interconnection
|PDID |Periodic Data Identifier, periodically send by the Dcm after a request of ReadDataByPeriodicIndentifer
|PDU| Protocol Data Unit
|PID |Parameter Identifier
|RCRRP| Response correctly received - response pending
|RID| Routine Identifier
|ROE |ResponseOnEvent
|RTE| Runtime Environment
|SAP| Service Access Point
|SDU |Service Data Unit
|SID| Service Identifier
|SW-C| Software-Component
|TP| Transport Protocol
|UDS|Unified Diagnostic Services
|Xxx_| Placeholder for an API provider
|SPRMIB| suppressPosRspMsgIndicationBit

## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

[1] Unified diagnostic services (UDS) – Part 1: Specification and requirements (Release 2013-03) http://www.iso.org
[2] Road vehicles – Communication between vehicle and external equipment for emission-related diagnostic – Part 5: Emission-related diagnostic services. http://www.iso.org
[3] SAE J1979
[4] Diagnostics on controller area network (CAN) – Part 3: Implementation of unified
diagnostic services (UDS on CAN) (Release 2004 10-06)
[5] Diagnostics on controller area network (CAN) – Part 4: Requirements for emission-related systems (Release 2005 01-04)
[6] Glossary, AUTOSAR_TR_Glossary
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf
[7] General Specification of Basic Software Modules AUTOSAR_SWS_BSWGeneral
[8] Unified diagnostic services (UDS) – Part 1: Application layer (Release 2020-02) http://www.iso.org
[9] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral
[10] ISO 17356-3: Road vehicles – Open interface for embedded automotive applications – Part 3: OSEK/VDX Operating System (OS)
[11] Unified diagnostic services (UDS) - Part 2: Session layer services (Release 2013-03)
http://www.iso.org
[12] Specification of PDU Router, AUTOSAR_SWS_PDURouter
[13] Road vehicles – Diagnostics on Controller Area Networks (CAN) – Part2: Network layer services
[14] Specification of Diagnostic Event Manager
AUTOSAR_SWS_DiagnosticEventManager
[15] Road vehicles – Communication between vehicle and external equipment for emission-related diagnostic – Part 6: Diagnostic trouble code definitions http://www.iso.org
[16] Specification of NVRAM Manager
AUTOSAR_SWS_NVRAMManager
[17] Specification of Crypto Service Manager
AUTOSAR_SWS_CryptoServiceManager
[18] Specification of Key Manager
AUTOSAR_SWS_KeyManager
[19] Specification of I/O Hardware Abstraction
AUTOSAR_SWS_IOHardwareAbstraction


# 関連文書(Related document)

2023年1月　記事数一覧

https://qiita.com/kaizen_nagoya/items/78153968c5de76a7fd83

年末100記事を30点に仕上げる。

https://qiita.com/kaizen_nagoya/items/3ffdc82caee3a325d1d7

2023 書き初め

https://qiita.com/kaizen_nagoya/items/d494737e2627127b530d

「はじめてのCAN/CANFD 」 ベクタージャパン ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/1fee270be00ef90ca4ec


三方良し　Udemy 車載LAN入門講座 CAN通信編

https://qiita.com/kaizen_nagoya/items/bed038c52510fea72c0a


詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(1) 著者　 ＜エンジニア夏休み企画 読書感想文＞

https://qiita.com/kaizen_nagoya/items/e9971698a108c3dba794

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(2)参考文献 ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/e156cbdd5fce9263776e

詳解 車載ネットワーク CAN、CAN FD、LIN、CXPI、Ethernetの仕組みと設計のために

https://qiita.com/kaizen_nagoya/items/44a9e6b0f5363b4a5b35


# 最新URL変更記事

Specification of Diagnostic Communication Manager, AUTOSAR 18, R22-11, CP 20230421

https://qiita.com/kaizen_nagoya/items/3c35cfa403a23e218fbd

 ＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞

# 文書履歴(document history)
ver. 0.01 初稿 　20230106
ver. 0.02 ありがとう追記 20230503

## 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。

####  Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.