1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AUTOSAR CountdownAdvent Calendar 2022

Day 9

ISO 14229-5:2013 Road vehicles - Unified diagnostic services (UDS) - Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP)

Last updated at Posted at 2022-02-03

ISO 14229-5:2013 Road vehicles — Unified diagnostic services (UDS) — Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP)

<この記事は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.

Foreword

ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of
any patent rights identified during the development of the document will be in the Introduction and/or
on the ISO list of patent declarations received (see www.iso.org/patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity
assessment, as well as information about ISO’s adherence to the WTO principles in the Technical Barriers
to Trade (TBT) see the following URL: Foreword - Supplementary information
The committee responsible for this document is ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical
and electronic equipment.
ISO 14229 consists of the following parts, under the general title Road vehicles — Unified diagnostic
services (UDS):
— Part 1: Specification and requirements
— Part 2: Session layer services
— Part 3: Unified diagnostic services on CAN implementation (UDSonCAN)
— Part 4: Unified diagnostic services on FlexRay implementation (UDSonFR)
— Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP)
— Part 6: Unified diagnostic services on K-Line implementation (UDSonK-Line)
The following parts are under preparation:
— Part 7: Unified diagnostic services on Local Interconnect Network implementation (UDSonLIN)

Introduction

This part of ISO 14229 has been established in order to enable the implementation of unified diagnostic
services, as specified in ISO 14229-5, on Internet Protocol (UDSonIP).
To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model specified in
ISO/IEC 7498-1 and ISO/IEC 10731, which structures communication systems into seven layers. When
mapped on this model, the services specified by ISO 14229 are divided into the following:
— Application layer (layer 7):
— Vehicle manufacturer enhanced diagnostics: ISO 14229-1, ISO 14229-5;
— Legislated OBD: ISO 15031-5;
— Legislated WWH-OBD: ISO 14229-1 / ISO 27145-3;
— Presentation layer (layer 6):
— Vehicle manufacturer enhanced diagnostics: vehicle manufacturer specific;
— Legislated OBD: SAE J1930-DA, SAE J1979-DA, SAE J2012-DA;
— Legislated WWH-OBD: ISO 27145-2 with reference to SAE J1930-DA, SAE J1939 Companion
Spreadsheet (SPNs), SAE J1939-73:2010, Appendix A (FMIs), SAE J1979-DA and SAE J2012-DA;
— Session layer services (layer 5):
— Vehicle manufacturer enhanced diagnostics: ISO 14229-2;
— Legislated OBD: ISO 14229-2;
— Legislated WWH-OBD: ISO 14229-2;
— Transport layer services (layer 4):
— Vehicle manufacturer enhanced diagnostics: ISO 13400-2;
— Legislated OBD: ISO 15765-2, ISO 15765-4;
— Legislated WWH-OBD: ISO 27145-4;
— Network layer services (layer 3):
— Vehicle manufacturer enhanced diagnostics: ISO 13400-2;
— Legislated OBD: ISO 15765-2, ISO 15765-4;
— Legislated WWH-OBD: ISO 27145-4;
— Data link layer (layer 2):
— Vehicle manufacturer enhanced diagnostics: ISO 13400-3;
— Legislated OBD: ISO 11898-1, ISO 11898-2, ISO 15765-4;
— Legislated WWH-OBD: ISO 27145-4;
— Physical layer (layer 1):
— Vehicle manufacturer enhanced diagnostics: ISO 13400-3;
— Legislated OBD: ISO 11898-1, ISO 11898-2, ISO 15765-4;
— Legislated WWH-OBD: ISO 27145-4;
in accordance with Table 1.

1 Scope

This part of ISO 14229 references ISO 14229-1 and ISO 14229-2 and specifies the implementation
requirements of a common set of unified diagnostic services (UDS) on Internet Protocol (UDSonIP).
NOTE UDSonIP does not specify any requirements of the in-vehicle network architecture.
This part of ISO 14229 does not include any redundant information of the documents as listed in the
introduction. It focuses on
— additional requirements specific to the implementation of UDSonIP, and
— specific restrictions in the implementation of UDSonIP.

Contents Page

Foreword
Introduction
1 Scope
2 Normative references
3 Terms, definitions, and abbreviated terms
3.1 Terms and definitions
3.2 Abbreviated terms
4 Conventions
5 Document overview.
6 Unified diagnostic services implementation on Internet Protocol
6.1 General
6.2 UDS on IP services overview
6.3 DiagnosticSessionControl (0x10) service
6.4 ECUReset (0x11) service
6.5 ReadDataByPeriodicIdentifier (0x2A) service DoIP implementation requirements
7 Application layer requirements
7.1 Application layer services
7.2 Application layer protocol
7.3 Application layer timing.
8 Presentation layer requirements
9 Session layer requirements
10 Transport/network layer interface adaptation
10.1 General information
10.2 DoIP transport/network layer interface adaptation
11 Data link layer diagnostic implementation requirements
Bibliography

2 Normative references

ISO 13400 (all parts), Road vehicles — Diagnostic communication over Internet Protocol (DoIP)
ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services

3 Terms, definitions, and abbreviated terms

3.1 Terms and definitions

For the purposes of this document, the terms and definitions in ISO 14229-1, ISO 14229-2, and ISO 13400 (all parts) apply.

3.2 Abbreviated terms

DID data identifier
DoIP diagnostic communication over Internet Protocol
DoIP_AI DoIP address information
IP Internet Protocol
OSI Open System Interconnection
pDID periodic data identifier
UDS unified diagnostic services
VM vehicle manufacturer

4 Conventions

This part of ISO 14229 is based on the conventions discussed in ISO/IEC 10731:1994 as they apply for
diagnostic services.

5 Document overview

Figure 1 provides an overview of the documents needed for the implementation of UDSonIP.
Uniied Diagnostic Services (UDS )
subset
ISO 14229-1 UDS
ISO 14229-5
speciication and
OSI Layer 7
UDSonIP
requirements
Application
vehicle manufacturer speciic
OSI Layer 6
Presentation
ISO 14229-2 UDS
OSI Layer 5
session layer services
Session
Standardized Service Primitive Interface
DoIP
ISO 14229-5 UDS –
UDSonIP
implementation
OSI Layer 4
ISO 13400-2
Transport
DoIP
transport
protocol
and
network layer
services
OSI Layer 3
Network
OSI Layer 2
Data Link
ISO 13400-3
DoIP
IEEE 802.3
based wired
vehicle
interface
OSI Layer 1
Physical
Figure 1 — ISO 14229-5 UDSonIP document reference according to OSI model

6 Unified diagnostic services implementation on Internet Protocol

6.1 General

This clause defines how the diagnostic services, as defined in ISO 14229-1, apply to IP. For each service,
the applicable sub-function and data parameters are defined.
NOTE The sub-function parameter definitions take into account that the most significant bit is used for the
suppressPosRspMsgIndicationBit parameter as defined in ISO 14229-1.

6.2 UDS on IP services overview

The purpose of Table 2 is to reference all ISO 14229-1 and ISO 14229-2 services as they are applicable for
an implementation in ISO 14229-5 UDSonIP. Table 2 contains the sum of all applicable services. Certain
applications using this part of ISO 14229 to implement UDSonIP may restrict the number of useable
services and may categorize them in certain application areas/diagnostic sessions (default session,
programming session, etc.).
Services in Table 2 that are marked “No IP-specific requirements” shall be implemented as defined
in ISO 14229-1 and ISO 14229-2 with no additional restrictions. Services that are marked “IP-specific
requirements” shall be implemented based on the subclause listed in Table 2.
Table 2 — Overview of applicable ISO 14229-1 unified diagnostic services and data ranges
Reference in
Diagnostic service name (ISO 14229-1) Comment this part of
ISO 14229
Diagnostic and communication management functional unit
DiagnosticSessionControl IP-specific requirements see 6.3
ECUReset IP-specific requirements see 6.4
SecurityAccess No IP-specific requirements —
CommunicationControl No IP-specific requirements —
TesterPresent No IP-specific requirements —
SecuredDataTransmission No IP-specific requirements —
ControlDTCSetting No IP-specific requirements —
ResponseOnEvent No IP-specific requirements —
Data transmission functional unit
ReadDataByIdentifier No IP-specific requirements —
ReadMemoryByAddress No IP-specific requirements —
ReadScalingDataByIdentifier No IP-specific requirements —
ReadDataByPeriodicIdentifier IP-specific requirements see 6.5
DynamicallyDefineDataIdentifier No IP-specific requirements —
WriteDataByIdentifier No IP-specific requirements —
WriteMemoryByAddress No IP-specific requirements —
Stored data transmission functional unit
ClearDiagnosticInformation No IP-specific requirements —
ReadDTCInformation No IP-specific requirements —
Input/output control functional unit
InputOutputControlByIdentifier No IP-specific requirements —
Remote activation of routine functional unit
RoutineControl No IP-specific requirements —
Upload/download functional unit
RequestDownload No IP-specific requirements —
RequestUpload No IP-specific requirements —
TransferData No IP-specific requirements —
RequestTransferExit No IP-specific requirements —
RequestFileTransfer No IP-specific requirements —

6.3 DiagnosticSessionControl (0x10) service

In addition to the generic implementation requirements stated in ISO 14229-1, the following shall be
considered for UDSonIP implementation:
The TCP connection may be disconnected due to a session change which causes to establish a new TCP
connection and routing activation as described in ISO 13400-2 before diagnostic communication can
be continued.
6.4 ECUReset (0x11) service
In addition to the generic implementation requirements stated in ISO 14229-1, the following shall be considered for UDSonIP implementation:
With the execution of ECUReset in the server, a TCP connection between client and server will be disconnected. This applies to ECUs which implement router functionalities as well. For this reason, it is
necessary to establish a new TCP connection and routing activation as described in ISO 13400-2 before diagnostic communication can be continued for the ECU where the ECU reset has been applied and all other involved ECUs.

Bibliography

[1] ISO 7498-1:1984, Information processing systems — Open systems interconnection — The basic model
[2] ISO 11898-1, Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling
[3] ISO 11898-2, Road vehicles — Controller area network (CAN) — Part 2: High-speed medium access unit
[4] ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2: Transport protocol and network layer services
[5] ISO 15765-4, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 4: Requirements for emissions-related systems
[6] ISO/IEC 10731:1994, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[7] SAE J1930-DA, Digital Annex of Electrical/Electronic Systems Diagnostic Terms, Definitions, Abbreviations, and Acronyms Web Tool Spreadsheet
[8] SAE J1939, Companion Spreadsheet (CS1939)
[9] SAE J1939-73:2010, Application layer — Diagnostics
[10] SAE J1979-DA, Digital Annex of E/E Diagnostic Test Modes
[11] SAE J2012-DA, Digital Annex of Diagnostic Trouble Code Definitions and Failure Type Byte Definitions

参考資料

@kazuo_reve 自動車の故障診断に関連するプログラマーになりたての方が参照するとよさそうな情報

自己参照

ISO 13400 Diagnostic communication over Internet Protocol (DoIP) ISO 13400-2:2019

ISO 13400-3, Road vehicles - Diagnostic communication over Internet Protocol (DoIP) - Part 3: Wired vehicle interface based on IEEE 802.3

ISO 13400-4:2016 Road vehicles - Diagnostic communication over Internet Protocol (DoIP) - Part 4: Ethernet-based high-speed data link connector

ISO 14229-5:2013 Road vehicles - Unified diagnostic services (UDS) - Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP)

@kazuo_reveさんの「自動車の故障診断に関連するプログラマーになりたての方が参照するとよさそうな情報」の読み方

ISO/IEC OSIに学ぶ

IT業界における国際規格等の利用。仮説・検証(22)

OSI参照モデルの資料を作り始める(作業中)

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.

文書履歴(document history)

ver. 0.01初稿 20230525
ver. 0.02 ありがとう追記 20230725

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

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

Thank you very much for reading to the last sentence.

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

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?