logo资料库

ISO 14229-1-2013.pdf

第1页 / 共402页
第2页 / 共402页
第3页 / 共402页
第4页 / 共402页
第5页 / 共402页
第6页 / 共402页
第7页 / 共402页
第8页 / 共402页
资料共402页,剩余部分请下载后查看
INTERNATIONAL STANDARD ISO 14229-1 Second edition 2013-03-15 Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements Véhicules routiers — Services de diagnostic unifiés (SDU) — Partie 1: Spécification et exigences Reference number ISO 14229-1:2013(E) © ISO 2013 Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
ISO 14229-1:2013(E) COPYRIGHT PROTECTED DOCUMENT © ISO 2013 All rights reserved. Unless 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 address below or ISO’s 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 copyright@iso.org Web www.iso.org Published in Switzerland ii © ISO 2013 – All rights reserved Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
ISO 14229-1:2013(E) Contents Page Foreword ............................................................................................................................................................vi Introduction.......................................................................................................................................................vii Scope......................................................................................................................................................1 1 Normative references............................................................................................................................1 2 Terms, definitions, symbols and abbreviated terms .........................................................................1 3 3.1 Terms and definitions ...........................................................................................................................1 Abbreviated terms .................................................................................................................................4 3.2 Conventions...........................................................................................................................................5 4 5 Document overview...............................................................................................................................6 Application layer services ....................................................................................................................7 6 General ...................................................................................................................................................7 6.1 Format description of application layer services ..............................................................................9 6.2 6.3 Format description of service primitives............................................................................................9 Service data unit specification...........................................................................................................12 6.4 Application layer protocol ..................................................................................................................15 7 General definition ................................................................................................................................15 7.1 7.2 Protocol data unit specification.........................................................................................................16 Application protocol control information .........................................................................................16 7.3 Negative response/confirmation service primitive ..........................................................................18 7.4 Server response implementation rules .............................................................................................18 7.5 Service description conventions .......................................................................................................29 8 8.1 Service description .............................................................................................................................29 Request message ................................................................................................................................30 8.2 Positive response message ...............................................................................................................33 8.3 Supported negative response codes (NRC_) ...................................................................................34 8.4 8.5 Message flow examples......................................................................................................................34 Diagnostic and Communication Management functional unit .......................................................35 9 Overview...............................................................................................................................................35 9.1 DiagnosticSessionControl (0x10) service.........................................................................................36 9.2 9.3 ECUReset (0x11) service ....................................................................................................................43 SecurityAccess (0x27) service...........................................................................................................47 9.4 CommunicationControl (0x28) service..............................................................................................53 9.5 TesterPresent (0x3E) service .............................................................................................................58 9.6 AccessTimingParameter (0x83) service............................................................................................61 9.7 9.8 SecuredDataTransmission (0x84) service ........................................................................................66 ControlDTCSetting (0x85) service .....................................................................................................71 9.9 ResponseOnEvent (0x86) service......................................................................................................75 9.10 LinkControl (0x87) service..................................................................................................................99 9.11 10 Data Transmission functional unit ..................................................................................................106 Overview.............................................................................................................................................106 10.1 ReadDataByIdentifier (0x22) service ...............................................................................................106 10.2 ReadMemoryByAddress (0x23) service..........................................................................................113 10.3 ReadScalingDataByIdentifier (0x24) service ..................................................................................119 10.4 10.5 ReadDataByPeriodicIdentifier (0x2A) service ................................................................................126 10.6 DynamicallyDefineDataIdentifier (0x2C) service............................................................................140 10.7 WriteDataByIdentifier (0x2E) service...............................................................................................162 10.8 WriteMemoryByAddress (0x3D) service .........................................................................................167 © ISO 2013 – All rights reserved iii Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
ISO 14229-1:2013(E) Stored Data Transmission functional unit ......................................................................................174 11 11.1 Overview.............................................................................................................................................174 11.2 ClearDiagnosticInformation (0x14) Service ....................................................................................175 11.3 ReadDTCInformation (0x19) Service................................................................................................178 12 InputOutput Control functional unit.................................................................................................245 12.1 Overview.............................................................................................................................................245 12.2 InputOutputControlByIdentifier (0x2F) service ..............................................................................245 13 Routine functional unit......................................................................................................................259 13.1 Overview.............................................................................................................................................259 13.2 RoutineControl (0x31) service..........................................................................................................260 14 Upload Download functional unit.....................................................................................................270 14.1 Overview.............................................................................................................................................270 14.2 RequestDownload (0x34) service.....................................................................................................270 14.3 RequestUpload (0x35) service..........................................................................................................275 14.4 TransferData (0x36) service..............................................................................................................280 14.5 RequestTransferExit (0x37) service.................................................................................................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 (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 linkControlModeIdentifier parameter definition .............................................................................334 B.4 nodeIdentificationNumber parameter definition ............................................................................335 Annex C (normative) Data transmission functional unit data-parameter definitions ..............................337 DID parameter definitions .................................................................................................................337 C.1 scalingByte parameter definitions...................................................................................................343 C.2 C.3 scalingByteExtension parameter definitions..................................................................................345 transmissionMode parameter definitions .......................................................................................351 C.4 C.5 Coding of UDS version number .......................................................................................................352 Annex D (normative) Stored data transmission functional unit data-parameter definitions ..................353 D.1 groupOfDTC parameter definition....................................................................................................353 DTCStatusMask and statusOfDTC bit definitions ..........................................................................353 D.2 DTC severity and class definition ....................................................................................................366 D.3 DTCFormatIdentifier definition.........................................................................................................369 D.4 FunctionalGroupIdentifier definition ...............................................................................................369 D.5 D.6 DTCFaultDetectionCounter operation implementation example..................................................371 D.7 DTCAgingCounter example ..............................................................................................................372 Annex E (normative) Input output control functional unit data-parameter definitions ...........................374 E.1 InputOutputControlParameter 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 values............................................................................................376 Annex H (informative) Examples for addressAndLengthFormatIdentifier parameter values .................377 H.1 addressAndLengthFormatIdentifier example values.....................................................................377 Annex I (normative) Security access state chart .........................................................................................379 iv © ISO 2013 – All rights reserved Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
ISO 14229-1:2013(E) General ...............................................................................................................................................379 I.1 I.2 Disjunctive normal form based state transition definitions..........................................................379 Annex J (informative) Recommended implementation for multiple client environments.......................385 Introduction........................................................................................................................................385 J.1 J.2 Implementation specific limitations ................................................................................................385 Use cases relevant for system design ............................................................................................386 J.3 Use Case Evaluation:........................................................................................................................388 J.4 J.5 Multiple client server level implementation....................................................................................389 Bibliography....................................................................................................................................................391 © ISO 2013 – All rights reserved v Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
ISO 14229-1:2013(E) 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. 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 Standards. 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 this 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 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 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 part is under preparation: ⎯ Part 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…) vi © ISO 2013 – All rights reserved Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
ISO 14229-1:2013(E) Introduction ISO 14229 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 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 ISO 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. in ISO 14229-1, ⎯ Presentation layer (layer 6), vehicle manufacturer specific, ISO°27145-2 WWH-OBD. ⎯ Session layer services (layer 5) specified in ISO 14229-2. ⎯ Transport 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 27145-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 14230-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, 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 Seven layer according to ISO/IEC 7498-1 and ISO/IEC 10731 OSI seven layer Application (layer 7) Presentation (layer 6) Session (layer 5) Transport (layer 4) Network (layer 3) Data link (layer 2) Physical (layer 1) © ISO 2013 – All rights reserved Enhanced diagnostics services 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 vehicle manufacturer specific ISO 14229-2 ISO 15765-2 ISO 10681-2 ISO 13400-2 Not applicable ISO 17987-2 ISO 11898-1, ISO 11898-2 ISO 17458-2 ISO 17458-4 ISO 13400-3, IEEE 802.3 ISO 14230-2 ISO 14230-1 ISO 17987-3 ISO 17987-4 further standards further standards further standards further standards WWH- OBD ISO 27145-3 ISO 27145-2 ISO 27145-4 vii Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
Copyright International Organization for Standardization Provided by IHS under license with ISO Not for Resale, 12/23/2015 22:13:16 MSTNo reproduction or networking permitted without license from IHS--``,``,,,`,``,`,,```,,````,,,,,-`-`,,`,,`,`,,`---
分享到:
收藏