1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationRoad vehicles Unified diagnostic services (UDS)Part 1: Specification and requirementsBS ISO 14229-1:2013National forewordThis British Standard is the UK implementation of ISO 142
2、29-1:2013. It supersedes BS ISO 14229:2006 which is withdrawn.The UK participation in its preparation was entrusted to Technical CommitteeAUE/16, Electrical and electronic equipment.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does
3、 not purport to include all the necessary provisions of acontract. Users are responsible for its correct application. The British Standards Institution 2013Published by BSI Standards Limited 2013ISBN 978 0 580 71056 8ICS 43.180Compliance with a British Standard cannot confer immunity fromlegal oblig
4、ations.This British Standard was published under the authority of the StandardsPolicy and Strategy Committee on 30 April 2013.Amendments issued since publicationAmd. No. Date Text affectedBRITISH STANDARDBS ISO 14229-1:2013Reference numberISO 14229-1:2013(E)ISO 2013INTERNATIONAL STANDARD ISO14229-1S
5、econd edition2013-03-15Road vehicles Unified diagnostic services (UDS) Part 1: Specification and requirements Vhicules routiers Services de diagnostic unifis (SDU) Partie 1: Spcification et exigences BS ISO 14229-1:2013ISO 14229-1:2013(E) COPYRIGHT PROTECTED DOCUMENT ISO 2013 All rights reserved. Un
6、less otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the
7、 address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO 2013 All rights reservedBS ISO 14229-1:2013ISO 14229-1:2013(
8、E) ISO 2013 All rights reserved iiiContents Page Foreword vi Introduction.vii 1 Scope1 2 Normative references1 3 Terms, definitions, symbols and abbreviated terms .1 3.1 Terms and definitions .1 3.2 Abbreviated terms .4 4 Conventions.5 5 Document overview.6 6 Application layer services 7 6.1 General
9、 .7 6.2 Format description of application layer services 9 6.3 Format description of service primitives9 6.4 Service data unit specification.12 7 Application layer protocol 15 7.1 General definition 15 7.2 Protocol data unit specification.16 7.3 Application protocol control information .16 7.4 Negat
10、ive response/confirmation service primitive 18 7.5 Server response implementation rules .18 8 Service description conventions .29 8.1 Service description .29 8.2 Request message 30 8.3 Positive response message .33 8.4 Supported negative response codes (NRC_) .34 8.5 Message flow examples34 9 Diagno
11、stic and Communication Management functional unit .35 9.1 Overview.35 9.2 DiagnosticSessionControl (0x10) service.36 9.3 ECUReset (0x11) service 43 9.4 SecurityAccess (0x27) service.47 9.5 CommunicationControl (0x28) service53 9.6 TesterPresent (0x3E) service .58 9.7 AccessTimingParameter (0x83) ser
12、vice61 9.8 SecuredDataTransmission (0x84) service 66 9.9 ControlDTCSetting (0x85) service .71 9.10 ResponseOnEvent (0x86) service75 9.11 LinkControl (0x87) service99 10 Data Transmission functional unit 106 10.1 Overview.106 10.2 ReadDataByIdentifier (0x22) service .106 10.3 ReadMemoryByAddress (0x2
13、3) service113 10.4 ReadScalingDataByIdentifier (0x24) service 119 10.5 ReadDataByPeriodicIdentifier (0x2A) service 126 10.6 DynamicallyDefineDataIdentifier (0x2C) service140 10.7 WriteDataByIdentifier (0x2E) service.162 10.8 WriteMemoryByAddress (0x3D) service .167 BS ISO 14229-1:2013ISO 14229-1:201
14、3(E) iv ISO 2013 All rights reserved11 Stored Data Transmission functional unit 174 11.1 Overview.174 11.2 ClearDiagnosticInformation (0x14) Service 175 11.3 ReadDTCInformation (0x19) Service178 12 InputOutput Control functional unit.245 12.1 Overview.245 12.2 InputOutputControlByIdentifier (0x2F) s
15、ervice 245 13 Routine functional unit259 13.1 Overview.259 13.2 RoutineControl (0x31) service260 14 Upload Download functional unit.270 14.1 Overview.270 14.2 RequestDownload (0x34) service.270 14.3 RequestUpload (0x35) service275 14.4 TransferData (0x36) service280 14.5 RequestTransferExit (0x37) s
16、ervice.285 14.6 RequestFileTransfer (0x38) service .295 15 Non-volatile server memory programming process 303 15.1 General information.303 15.2 Detailed programming sequence.307 15.3 Server reprogramming requirements 315 15.4 Non-volatile server memory programming message flow examples.319 Annex A (
17、normative) Global parameter definitions .325 A.1 Negative response codes .325 Annex B (normative) Diagnostic and communication management functional unit data-parameter definitions.333 B.1 communicationType parameter definition 333 B.2 eventWindowTime parameter definition .334 B.3 linkControlModeIde
18、ntifier parameter definition .334 B.4 nodeIdentificationNumber parameter definition 335 Annex C (normative) Data transmission functional unit data-parameter definitions 337 C.1 DID parameter definitions .337 C.2 scalingByte parameter definitions.343 C.3 scalingByteExtension parameter definitions345
19、C.4 transmissionMode parameter definitions .351 C.5 Coding of UDS version number .352 Annex D (normative) Stored data transmission functional unit data-parameter definitions 353 D.1 groupOfDTC parameter definition353 D.2 DTCStatusMask and statusOfDTC bit definitions 353 D.3 DTC severity and class de
20、finition 366 D.4 DTCFormatIdentifier definition.369 D.5 FunctionalGroupIdentifier definition .369 D.6 DTCFaultDetectionCounter operation implementation example371 D.7 DTCAgingCounter example 372 Annex E (normative) Input output control functional unit data-parameter definitions .374 E.1 InputOutputC
21、ontrolParameter definitions 374 Annex F (normative) Routine functional unit data-parameter definitions.375 F.1 RoutineIdentifier (RID) definition .375 Annex G (normative) Upload and download functional unit data-parameter .376 G.1 Definition of modeOfOperation values376 Annex H (informative) Example
22、s for addressAndLengthFormatIdentifier parameter values .377 H.1 addressAndLengthFormatIdentifier example values.377 Annex I (normative) Security access state chart .379 BS ISO 14229-1:2013ISO 14229-1:2013(E) ISO 2013 All rights reserved vI.1 General .379 I.2 Disjunctive normal form based state tran
23、sition definitions379 Annex J (informative) Recommended implementation for multiple client environments.385 J.1 Introduction385 J.2 Implementation specific limitations 385 J.3 Use cases relevant for system design 386 J.4 Use Case Evaluation:388 J.5 Multiple client server level implementation389 Bibl
24、iography391 BS ISO 14229-1:2013ISO 14229-1:2013(E) vi ISO 2013 All rights reservedForeword 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 throug
25、h 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 collaborat
26、es closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standard
27、s. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. Attention is drawn to the possibility that some of the elements of thi
28、s document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. ISO 14229-1 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment. This second edition cancels and replaces
29、the first edition (ISO 14229-1:2006), which has been technically revised. 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 C
30、AN 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 part is under preparation: P
31、art 7: Unified diagnostic services on Local Interconnect Network implementation (UDSonLIN) The titles of future parts will be drafted as follows: Part n: Unified diagnostic services on implementation (UDSon) BS ISO 14229-1:2013ISO 14229-1:2013(E) ISO 2013 All rights reserved viiIntroduction ISO 1422
32、9 has been established in order to define common requirements for diagnostic systems, whatever the serial data link is. To achieve this, ISO 14229 is based on the Open Systems Interconnection (OSI) Basic Reference Model in accordance with ISO 7498-1 and ISO/IEC 10731, which structures communication
33、systems into seven layers. When mapped on this model, the services used by a diagnostic tester (client) and an Electronic Control Unit (ECU, server) are broken into the following layers in accordance with Table 1: Application layer (layer 7), unified diagnostic services specified in ISO 14229-1, ISO
34、 14229-3 UDSonCAN, ISO 14229-4 UDSonFR, ISO 14229-5 UDSonIP, ISO 14229-6 UDSonK-Line, ISO 14229-7 UDSonLIN, further standards and ISO 27145-3 WWH-OBD. Presentation layer (layer 6), vehicle manufacturer specific, ISO27145-2 WWH-OBD. Session layer services (layer 5) specified in ISO 14229-2. Transport
35、 layer services (layer 4), specified in ISO 15765-2 DoCAN, ISO 10681-2 Communication on FlexRay, ISO 13400-2 DoIP, ISO 17987-2 LIN, ISO 27145-4 WWH-OBD. Network layer services (layer 3), specified in ISO 15765-2 DoCAN, ISO 10681-2 Communication on FlexRay, ISO 13400-2 DoIP, ISO 17987-2 LIN, ISO 2714
36、5-4 WWH-OBD. Data link layer (layer 2), specified in ISO 11898-1, ISO 11898-2, ISO 17458-2, ISO 13400-3, IEEE 802.3, ISO 14230-2, ISO 17987-3 LIN and further standards, ISO 27145-4 WWH-OBD. Physical layer (layer 1), specified in ISO 11898-1, ISO 11898-2, ISO 17458-4, ISO 13400-3, IEEE 802.3, ISO 142
37、30-1, ISO 17987-4 LIN and further standards, ISO 27145-4 WWH-OBD. NOTE The diagnostic services in this standard are implemented in various applications e.g. Road vehicles Tachograph systems, Road vehicles Interchange of digital information on electrical connections between towing and towed vehicles,
38、 Road vehicles Diagnostic systems, etc. It is required that future modifications to this standard provide long-term backward compatibility with the implementation standards as described above. Table 1 Example of diagnostic/programming specifications applicable to the OSI layers Applicability OSI sev
39、en layer Enhanced diagnostics services WWH-OBD Application (layer 7) ISO 14229-1, ISO 14229-3 UDSonCAN, ISO 14229-4 UDSonFR, ISO 14229-5 UDSonIP, ISO 14229-6 UDSonK-Line, ISO 14229-7 UDSonLIN, further standards ISO 27145-3 Presentation (layer 6) vehicle manufacturer specific ISO 27145-2 Session (lay
40、er 5) ISO 14229-2 Transport (layer 4) further standards Network (layer 3) ISO 15765-2 ISO 10681-2 ISO 13400-2 Not applicable ISO 17987-2 further standards Data link (layer 2) ISO 17458-2 ISO 14230-2 ISO 17987-3 further standards Seven layer according to ISO/IEC 7498-1 and ISO/IEC 10731 Physical (lay
41、er 1) ISO 11898-1, ISO 11898-2 ISO 17458-4 ISO 13400-3,IEEE 802.3 ISO 14230-1 ISO 17987-4 further standards ISO 27145-4 BS ISO 14229-1:2013INTERNATIONAL STANDARD ISO 14229-1:2013(E) ISO 2013 All rights reserved 1Road vehicles Unified diagnostic services (UDS) Part 1: Specifications and requirements
42、1 Scope This part of ISO 14229 specifies data link independent requirements of diagnostic services, which allow a diagnostic tester (client) to control diagnostic functions in an on-vehicle Electronic Control Unit (ECU, server) such as an electronic fuel injection, automatic gear box, anti-lock brak
43、ing system, etc. connected to a serial data link embedded in a road vehicle. It specifies generic services, which allow the diagnostic tester (client) to stop or to resume non-diagnostic message transmission on the data link. This part of ISO 14229 does not apply to non-diagnostic message transmissi
44、on on the vehicles communication data link between two Electronic Control Units. However, this part of ISO 14229 does not restrict an in-vehicle on-board tester (client) implementation in an ECU in order to utilize the diagnostic services on the vehicles communication data link to perform bidirectio
45、nal diagnostic data exchange. This part of ISO 14229 does not specify any implementation requirements. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the l
46、atest edition of the referenced document (including any amendments) applies. ISO 14229-2, Road vehicles Unified diagnostic services (UDS) Part 2: Session layer services 3 Terms, definitions, symbols and abbreviated terms 3.1 Terms and definitions For the purposes of this document, the following term
47、s and definitions apply. 3.1.1 boot manager part of the boot software that executes immediately after an ECU power on or reset whose primary purpose is to check whether a valid application is available to execute as compared to transferring control to the reprogramming software NOTE The boot manager
48、 may also take into account other conditions for transitioning control to the reprogramming software. 3.1.2 boot memory partition area of the server memory in which the boot software is located BS ISO 14229-1:2013ISO 14229-1:2013(E) 2 ISO 2013 All rights reserved3.1.3 boot software software which is
49、 executed in a special part of server memory which is used primarily to boot the ECU and perform server programming NOTE 1 This area of memory is not erased during a normal programming sequence and must execute when the server application is missing or otherwise deemed invalid to always ensure the capability to reprogram the server. NOTE 2 See also 3.1.1 and 3.1.17. 3.1.4 client function that is part of the tester and that makes use of the diagnostic services NOTE A tes
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1