UDS诊断服务学习资料

上传人:汽*** 文档编号:568576526 上传时间:2024-07-25 格式:PPT 页数:46 大小:1.04MB
返回 下载 相关 举报
UDS诊断服务学习资料_第1页
第1页 / 共46页
UDS诊断服务学习资料_第2页
第2页 / 共46页
UDS诊断服务学习资料_第3页
第3页 / 共46页
UDS诊断服务学习资料_第4页
第4页 / 共46页
UDS诊断服务学习资料_第5页
第5页 / 共46页
点击查看更多>>
资源描述

《UDS诊断服务学习资料》由会员分享,可在线阅读,更多相关《UDS诊断服务学习资料(46页珍藏版)》请在金锄头文库上搜索。

1、UDS诊断服务什么是什么是UDS? UDS - Unified diagnostic services (统一诊断服务统一诊断服务) 俗称俗称14229. 形象的说:就是使用一套仪器,对当前汽车出形象的说:就是使用一套仪器,对当前汽车出现的问题进行分析。而这套仪器与汽车交谈所现的问题进行分析。而这套仪器与汽车交谈所使用的语言就是使用的语言就是UDS(不是唯一的方法)。(不是唯一的方法)。2否定响应(否定响应(1)6数值数值描述描述0x11serviceNotSupported 服务器不支持客户端请求的诊断服务0x12subfuntionNotSupported 服务器不支持客户端请求服务的子功

2、能0x13incorrectMessageLengthOrInvalidFormat 服务器认为客户端的请求报文的数据长度(或者格式)不符合标准0x22conditionsNotCorrect 服务器执行诊断服务的条件不满足0x31requestOutOfRange 服务器没有客户端请求的数据,此否定响应适用于支持数据读、写,或者根据数据调整功能的服务器0x33securityAccessDenied 服务器阻止客户端的受限诊断服务请求,原因包括: 服务器的测试条件不满足 服务器的安全状态处于锁定状态否定响应(否定响应(2)7数值数值描述描述0x35invalidKey 服务器认为客户端返回的

3、密钥错误0x36exceedNumberOfAttempts 服务器认为客户端尝试安全访问(解锁)的失败次数超标(一般是大于3次)0x37requiredTimeDelayNotExpired 服务器拒绝客户端的安全访问请求,因为服务器允许接收请求的计时器未到时0x78requestCorrectlyReceived-ResponsePending 服务器正确接收到客户端发送的请求,正在处理中,但尚未处理完,此否定响应的发送时间应满足本规范中P2CAN_Server的要求,并且服务器应重复发送此否定响应,直到完成操作。0x7FserviceNotSupportedInActiveSession

4、 在当前诊断模式下,服务器不支持客户端请求的SIDDiagnosticSessionControl8Data Byte No.Parameter NameMessage UsageData Valuehex1Diagnostic Session Control Request Service IDM102Sub Function = Diagnostic Session Type M00-FFDefault Session Positive Response Required 01Programming Session Positive Response Required 02Extended

5、 Diagnostic Session Positive Response Required 03Default Session No Positive Response Required 81Programming Session No Positive Response Required82Extended Diagnostic Session - No Positive Response Required83服务请求格式服务请求格式DiagnosticSessionControl9正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData

6、 Valuehex1Diagnostic Session Control Response Service Id M502Diagnostic Session TypeM00-FF负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Diagnostic Session Control M103Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or

7、Invalid Format 13Conditions Not Correct22ECUReset10服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1ECU Reset Request Service IDM112Sub Function = Reset Type M00-FFHard Reset Positive Response Required01Soft Reset Positive Response Required03Hard Reset No Positive Response Required8

8、1Soft Reset No Positive Response Required83ECUReset11正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1ECU Reset Response Service Id M512Reset TypeM00-FF负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2ECU ResetM113Negative Response Trouble CodeM00-

9、FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13ClearDiagnosticInformation12服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Clear Diagnostic Information Request Service IDM142 - 4groupOfDTC= groupOfDTCHighByte, groupOfDTCMiddleByte, groupOfDTCLowByteM000

10、000-FFFFFFgroupOfDTChexDescriptionxxxxxxBody GroupxxxxxxNetwork Communication GroupFFFFFFAll GroupsClearDiagnosticInformation13正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Clear Diagnostic Information Response Service Id M54Data Byte No.Parameter NameMessage UsageData Va

11、luehex1Negative Response M7F2Clear Diagnostic InformationM143Negative Response Trouble CodeM00-FFIncorrect Message Length Or Invalid Format 13Conditions Not Correct 22Request Out Of Range31ReadDTCInformation14服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Requ

12、est Service IDM192Sub Function = Request Type M00 - FFReportNumberOfDTCByStatusMask013DTCStatusMaskM00 - FFReport Number of DTC by Status MaskReadDTCInformation15正响应格式正响应格式负响应格式负响应格式Report Number of DTC by Status MaskData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response

13、 Service IDM592Request TypeM00 - FFReportNumberOfDTCByStatusMask013DTCStatusAvailabilityMaskM00 - FF4ISO15031-6 DTC FormatM0056DTCCount = DTC Count High ByteDTC Count Low Byte M0000 - FFFFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negative Res

14、ponse Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13ReadDTCInformation16服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function = Request Type M00 - FFReportDTCByStatusMask023DTCStatusMask

15、M00 - FFReport DTC by Status MaskReadDTCInformation17正响应格式正响应格式Report DTC by Status MaskData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Report TypeM00 - FFReportDTCByStatusMask023DTCStatusAvailabilityMaskM00 - FF4:nDTCAndStatusRecord = DTCHighByte#1D

16、TCMiddleByte#1DTCLowByte#1statusOfDTC#1DTCHighByte#2DTCMiddleByte#2DTCLowByte#2statusOfDTC#2:DTCHighByte#mDTCMiddleByte#mDTCLowByte#mstatusOfDTC#m C00 - FF:00 - FFReadDTCInformation18负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negativ

17、e Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13Report DTC by Status MaskReadDTCInformation19服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function = Request Type M00 - FFReportD

18、TCSnapshotIdentification04345DTCMaskRecord = DTCHighByteDTCMiddleByteDTCLowByte C00 FF00 - FF00 - FF6DTCSnapshotRecordNumberC00 - FFReport DTC Snapshot IdentificationReadDTCInformation20正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Report

19、 TypeM00 - FFreportDTCSnapshotRecordByDTCNumber043456DTCAndStatusRecord = DTCHighByteDTCMiddleByteDTCLowBytestatusOfDTC M00 FF00 - FF00 - FF00 - FF7DTCSnapshotRecordNumber #1C00 - FF8DTCSnapshotRecordNumberOfIdentifiers #1C00 - FF9:9+k-19+k:9+k+(p-1):r-(m-1)-2:r-(m-1)-1r-(m-1):rDTCSnapshotRecord #1

20、= dataIdentifier#1 byte #1 (MSB):dataIdentifier#1 byte #ksnapshotData#1 byte #1:snapshotData#1 byte #p:dataIdentifier#w byte #1 (MSB):dataIdentifier#w byte #ksnapshotData#w byte #1:snapshotData#w byte #m C00-FF:00-FF00-FF:00-FF:00-FF:00-FF00-FF:00-FF:C:Report DTC Snapshot IdentificationReadDTCInform

21、ation21负响应格式负响应格式Report DTC Snapshot IdentificationData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13Request Out Of Range31ReadDTCInformatio

22、n22服务请求格式服务请求格式Report DTC Extended Data Record by DTC NumberData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function = Request Type M00-FFReportDTCExtendedDataRecordByDTCNumber06345DTCMaskRecord = DTCHighByteDTCMiddleByteDTCLowByte M000000 - FFFFF

23、F6DTCExtendedDataRecordNumberM00 - FFDTCExtendedDataRecordNumberhexDescriptionxxRequest DTC occurrence counterxxRequest aging counterxxRequest aged counterxxRequest pending counterxxRequest all extended data recordsReadDTCInformation23正响应格式正响应格式Report DTC Snapshot IdentificationData Byte No.Paramete

24、r NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Request TypeM00-FFReportDTCExtendedDataRecordByDTCNumber063456DTCAndStatusRecord = DTCHighByteDTCMiddleByteDTCLowBytestatusOfDTC M7DTCExtendedDataRecordNumber #1C8:nDTCExtendedDataRecord #1 = extendedData #1 byte #1:extende

25、dData #1 byte #p CmDTCExtendedDataRecordNumber #xCm+1:kDTCExtendedDataRecord #x = extendedData #x byte #1:extendedData #x byte #q CReadDTCInformation24负响应格式负响应格式Report DTC Snapshot IdentificationData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negat

26、ive Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13Request Out Of Range31ReadDTCInformation25服务请求格式服务请求格式Report Supported DTCData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function = Request T

27、ype M00-FFReportSupportedDTC0AReadDTCInformation26正响应格式正响应格式Report Supported DTCData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Report TypeM00 - FFReportSupportedDTC0A3DTCStatusAvailabilityMaskM00 - FF4DTCAndStatusRecord = DTCHighByte#1DTCMiddleByte#

28、1DTCLowByte#1statusOfDTC#1DTCHighByte#2DTCMiddleByte#2DTCLowByte#2statusOfDTC#2:DTCHighByte#mDTCMiddleByte#mDTCLowByte#mstatusOfDTC#m CReadDTCInformation27负响应格式负响应格式Report Supported DTCData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negative Respon

29、se Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13Read Data by Identifier28服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read Data By Identifier Request Service IDM2223DataIdentifier = byte#1 (MSB)byte#2 M00 - FF00 - FFRead Data by Ide

30、ntifier29正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read Data By Identifier Response Service IDM6223DataIdentifier = byte#1 (MSB)byte#2 M00 - FF00 - FF#4:#(k-1)+4DataRecord = data#1:data#k M00-FF:00-FFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Respo

31、nse M7F2Read Data By IdentifierM223Negative Response Trouble CodeM00-FFIncorrect Message Length Or Invalid Format 13Request Out Of Range 31Security Access30服务请求格式服务请求格式Step 1: Request seedData Byte No.Parameter NameMessage UsageData Valuehex1Security Access Request Service IDM272Sub Function = Secur

32、ity Access Type M00-FFRequest Seed01Security Access31正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Security Access Response Service IDM672securityAccessTypeM00 - FFRequest Seed013456securitySeed = seed#1 (MSB)seed#2seed#3seed#4 (LSB)M00 - FF00 - FF00 - FF00 - FFData Byte

33、No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Security AccessM273Negative Response Trouble CodeM00-FFSub Function Not Supported12Incorrect Message Length Or Invalid Format13Required Time Delay Not Expired37Service Not Supported In Active Session7FStep 1: Request seedSecurity Acce

34、ss32服务请求格式服务请求格式Step 2: Seed security keyData Byte No.Parameter NameMessage UsageData Valuehex1Security Access Request Service IDM272Sub Function = Security Access Type M00-FFSend Key Security023456securityKey = key#1 (MSB)key#2key#3key#4M00 - FF00 - FF00 - FF00 - FFSecurity Access33正响应格式正响应格式负响应格式负

35、响应格式Step 2: Seed security keyData Byte No.Parameter NameMessage UsageData Valuehex1Security Access Response Service IDM672securityAccessTypeM00 - FFSend Key Security02Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Security AccessM273Negative Response Trouble CodeM00-FFSu

36、b Function Not Supported12Incorrect Message Length Or Invalid Format13Request Sequence Error24Invalid Key35Exceeded Number Of Attempts36Service Not Supported In Active Session7FCommunication Control34服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Value1Communication Control Request Service

37、 IDM282Sub Function = Control TypeM00-FFEnable Rx And Tx Positive Response Required00Disable Rx And Disable Tx Positive Response Required03Enable Rx And Tx No Positive Response Required80Disable Rx And Disable Tx No Positive Response Required833Communication TypeM00-FFNormal Communication Messages01

38、Network Management Messages02Normal Communication Messages and Network Management Messages03Communication Control35正响应格式正响应格式负响应格式负响应格式Data Byte No. Parameter NameMessage UsageData Valuehex1Communication Control Response Service ID M682Sub Function = control TypeM00-FFData Byte No.Parameter NameMess

39、age UsageData Valuehex1Negative Response M7F2Communication ControlM283Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13Request Out Of Range31Service Not Supported In Active Session7FWrite Data by Identifier36服务请求格式服务请求格式Data Byte No.Parame

40、ter NameMessage UsageData Valuehex1Write Data by Identifier Request Service IDM2E23DataIdentifier#1= byte#1 (MSB)byte#2 M00 - FF00 - FF4:m+3DataRecord = data#1:data#m M00-FF:00-FFWrite Data by Identifier37正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Write Data by Identif

41、ier Response Service IDM6E23DataIdentifier#1= byte#1 (MSB)byte#2 M00 - FF00 - FFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Write Data by IdentifierM2E3Negative Response Trouble CodeM00-FFIncorrect Message Length Or Invalid Format 13Conditions Not Correct22Request Out

42、 Of Range 31Security Access Denied33Service Not Supported In Active Session7FRoutine Control38服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Routine Control Request Service IDM312Sub Function = Routine Control TypeM00 - FFStartRoutine01StopRoutine02RequestRoutineResults0334Routine

43、Identifier=byte#1(MSB)byte#2M0000-FFFF5:nRoutineControlOptionRecord = routineControlOption#1:routineControlOption#m CRoutine Control39正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Routine Control Response Service IDM712Routine Control TypeM00 - FF34RoutineIdentifier#1= byte#1 (MSB)

44、byte#2 M0000-FFFF5:nRoutineStatusRecord =routineStatus#1:routineStatus#mRoutine Control40负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Write Data by IdentifierM313Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Inva

45、lid Format 13Conditions Not Correct22Request Sequence Error24Request Out Of Range 31Security Access Denied33Service Not Supported In Active Session7FTester Present41服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Tester Present Request Service IDM3E2Sub Function = zero Sub Function

46、M00-FFPositive Response Required00No Positive Response Required80Tester Present42正响应格式正响应格式负响应格式负响应格式Data Byte No. Parameter NameMessage UsageData Valuehex1Tester Present Response Service Id M7E2Sub Function = zero Sub FunctionM00-FFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Resp

47、onse M7F2Tester Present M3E3Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13Control DTC Setting43服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Control DTC Setting Request Service IDM852Sub Function = DTC Setting TypeM0

48、0-FFOn Positive Response Required01Off Positive Response Required02On No Positive Response Required81Off No Positive Response Required82Control DTC Setting44正响应格式正响应格式负响应格式负响应格式Data Byte No. Parameter NameMessage UsageData Valuehex1Control DTC Setting Response Service Id MC52Sub Function = DTC Setti

49、ng Type M00-FFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Control DTC SettingM853Negative Response Trouble CodeM00-FFSub Function Not Supported12Incorrect Message Length Or Invalid Format 13Conditions Not Correct 22Service Not Supported In Active Session7F上海保隆汽车科技股份有限公司版权所有 2012谢谢 谢!谢!45

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号