logo资料库

ISO 14229诊断协议.pdf

第1页 / 共300页
第2页 / 共300页
第3页 / 共300页
第4页 / 共300页
第5页 / 共300页
第6页 / 共300页
第7页 / 共300页
第8页 / 共300页
资料共300页,剩余部分请下载后查看
INTERNATIONAL STANDARD ISO 14229 Second edition 2006-12-01 Road vehicles — Unified diagnostic services (UDS) — Specification and requirements Véhicules routiers — Services de diagnostic unifiés (SDU) — Spécification et exigences Reference number ISO 14229:2006(E) © ISO 2006
ISO 14229:2006(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. © ISO 2006 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing 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 Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved
ISO 14229:2006(E) Contents Page Foreword............................................................................................................................................................. v Introduction ....................................................................................................................................................... vi Scope ..................................................................................................................................................... 1 1 2 Normative references ........................................................................................................................... 2 Terms and definitions........................................................................................................................... 3 3 Symbols and abbreviated terms ......................................................................................................... 5 4 5 Conventions .......................................................................................................................................... 5 Application layer services ................................................................................................................... 6 6 6.1 General................................................................................................................................................... 6 6.2 Format description of application layer services.............................................................................. 8 6.3 Format description of standard service primitives ........................................................................... 8 Format description of remote service primitives ............................................................................ 10 6.4 Service data unit specification .......................................................................................................... 13 6.5 7 Application layer protocol ................................................................................................................. 19 7.1 General definition ............................................................................................................................... 19 Protocol data unit specification ........................................................................................................ 19 7.2 Application protocol control information......................................................................................... 19 7.3 7.4 Negative response/confirmation service primitive ......................................................................... 21 7.5 Server response implementation rules ............................................................................................ 22 Service description conventions ...................................................................................................... 29 8 8.1 Service description............................................................................................................................. 29 8.2 Request message ............................................................................................................................... 30 8.3 Positive response message............................................................................................................... 32 Supported negative response codes (NRC_) .................................................................................. 34 8.4 Message flow examples ..................................................................................................................... 34 8.5 9 Diagnostic and communication management functional unit ....................................................... 36 9.1 Overview .............................................................................................................................................. 36 DiagnosticSessionControl (10 hex) service..................................................................................... 36 9.2 9.3 ECUReset (11 hex) service ................................................................................................................ 42 9.4 SecurityAccess (27 hex) service ....................................................................................................... 45 9.5 CommunicationControl (28 hex) service.......................................................................................... 52 TesterPresent (3E hex) service ......................................................................................................... 55 9.6 AccessTimingParameter (83 hex) service........................................................................................ 58 9.7 9.8 SecuredDataTransmission (84 hex) service .................................................................................... 63 9.9 ControlDTCSetting (85 hex) service ................................................................................................. 69 9.10 ResponseOnEvent (86 hex) service.................................................................................................. 73 LinkControl (87 hex) service.............................................................................................................. 91 9.11 10 Data transmission functional unit..................................................................................................... 97 10.1 Overview .............................................................................................................................................. 97 10.2 ReadDataByIdentifier (22 hex) service ............................................................................................. 97 10.3 ReadMemoryByAddress (23 hex) service ...................................................................................... 102 10.4 ReadScalingDataByIdentifier (24 hex) service .............................................................................. 106 10.5 ReadDataByPeriodicIdentifier (2A hex) service ............................................................................ 112 10.6 DynamicallyDefineDataIdentifier (2C hex) service ........................................................................ 123 10.7 WriteDataByIdentifier (2E hex) service........................................................................................... 143 10.8 WriteMemoryByAddress (3D hex) service ..................................................................................... 146 Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved iii
ISO 14229:2006(E) 11 Stored data transmission functional unit ....................................................................................... 152 11.1 Overview ............................................................................................................................................ 152 11.2 ClearDiagnosticInformation (14 hex) service................................................................................. 152 11.3 ReadDTCInformation (19 hex) service ............................................................................................ 154 InputOutput control functional unit................................................................................................. 208 12 12.1 Overview ............................................................................................................................................ 208 12.2 InputOutputControlByIdentifier (2F hex) service........................................................................... 209 13 Remote activation of routine functional unit.................................................................................. 224 13.1 Overview ............................................................................................................................................ 224 13.2 RoutineControl (31 hex) service...................................................................................................... 225 14 Upload download functional unit .................................................................................................... 231 14.1 Overview ............................................................................................................................................ 231 14.2 RequestDownload (34 hex) service................................................................................................. 231 14.3 RequestUpload (35 hex) service...................................................................................................... 234 14.4 TransferData (36 hex) service.......................................................................................................... 237 14.5 RequestTransferExit (37 hex) service............................................................................................. 242 Annex A (informative) Global parameter definitions................................................................................... 250 Annex B (normative) Diagnostic and communication management functional unit data parameter definitions .......................................................................................................................................... 257 Annex C (normative) Data transmission functional unit data parameter definitions.............................. 259 Annex D (normative) Stored data transmission functional unit data parameter definitions.................. 272 Annex E (normative) Input output control functional unit data parameter definitions........................... 289 Annex F (normative) Remote activation of routine functional unit data parameter definitions............. 290 Annex G (informative) Examples for addressAndLengthFormatIdentifier parameter values ................ 291 Bibliography ................................................................................................................................................... 293 iv Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved
ISO 14229:2006(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 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment. This second edition of ISO 14229 cancels and replaces the first edition (ISO 14229:1998), which has been technically revised. Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved v
ISO 14229:2006(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, it 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: ⎯ unified diagnostic services (layer 7); and ⎯ communication services (layers 1 to 6). NOTE The diagnostic services in ISO 14229 are implemented in various applications, e.g. ISO 16844 (all parts), ISO 11992 (all parts), ISO 9141 (all parts), ISO 14230 (all parts), etc. Future modifications to this International Standard will 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 layer Enhanced diagnostics services (non-emissions-related) Seven layers according to ISO/IEC 7498-1 and ISO/IEC 10731 Application (layer 7) Presentation (layer 6) Session (layer 5) Transport (layer 4) Network (layer 3) Data link (layer 2) Physical (layer 1) ISO 14229/ISO 15765-3/ISO 11992-4 ISO 14229/further standards — ISO 15765-3/ISO 11992-4 ISO 15765-2/ISO 11992-4 ISO 15765-2/ISO 11992-4 ISO 11898/ISO 11992-1/SAE J1939-15 ISO 11898/ISO 11992-1/SAE J1939-15 — further standards further standards further standards further standards further standards Figure 1 shows an example of the possible future implementation of ISO 14229 onto various data links. Figure 1 — Available International Standards and possible future implementations of ISO 14229 vi Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved
INTERNATIONAL STANDARD ISO 14229:2006(E) Road vehicles — Unified diagnostic services (UDS) — Specification and requirements 1 Scope 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 (server) such as an electronic fuel injection, automatic gear box, anti-lock braking system, etc. connected on 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. ISO 14229 does not apply to non-diagnostic message transmission or to use of the communication data link between two Electronic Control Units. It does not specify any implementation requirements. The vehicle diagnostic architecture of ISO 14229 applies to: ⎯ a single tester (client) that may be temporarily or permanently connected to the on-vehicle diagnostic data link; and ⎯ several on-vehicle Electronic Control Units (servers) connected directly or indirectly. Figure 2 — Vehicle diagnostic architecture Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved 1
ISO 14229:2006(E) In Figure 2: ⎯ For vehicle 1, the servers are connected over an internal data link and indirectly connected to the diagnostic data link through a gateway. ISO 14229 applies to the diagnostic communications over the diagnostic data link; the diagnostic communications over the internal data link may conform to ISO 14229 or to another protocol. ⎯ For vehicle 2, the servers are directly connected to the diagnostic data link. ⎯ For vehicle 3, the servers are directly connected to the diagnostic data link through a gateway (same as vehicle 2) and vehicle 4 connects its server/gateway directly to the vehicle 3 server/gateway. 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 latest edition of the referenced document (including any amendments) applies. ISO 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services ISO 11898 (all parts), Road vehicles — Controller area network (CAN) ISO 11992-1, Road vehicles — Interchange of digital information on electrical connections between towing and towed vehicles — Part 1: Physical and data-link layers ISO 11992-4, Road vehicles — Interchange of digital information on electrical connections between towing and towed vehicles — Part 4: Diagnostics ISO 14230 (all parts), Road vehicles — Diagnostic systems — Keyword Protocol 2000 ISO 15765-2, Road vehicles — Diagnostics on Controller Area Networks (CAN) — Part 2: Network layer services ISO 15765-3, Road vehicles — Diagnostics on Controller Area Networks (CAN) — Part 3: Implementation of unified diagnostic services (UDS on CAN) ISO/TR 15031-2, Road vehicles — Communication between vehicle and external equipment for emissions- related diagnostics — Part 2: Terms, definitions, abbreviations and acronyms ISO 15031-5, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 5: Emissions-related diagnostic services ISO 15031-6, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 6: Diagnostic trouble code definitions ISO 15031-7, Road vehicles — Communication between vehicle and external equipment for emissions-related diagnostics — Part 7: Data link security ISO 15764, Road vehicles — Extended data link security 2 Licensed to DELPHI CORPORATION/ERIKA ROYVAL ISO Store order #:799529/Downloaded:2007-01-25 Single user licence only, copying and networking prohibited © ISO 2006 – All rights reserved
分享到:
收藏