UDS诊疗服务课件.ppt

上传人:知**** 文档编号:97754557 上传时间:2024-06-30 格式:PPT 页数:44 大小:528.50KB
返回 下载 相关 举报
UDS诊疗服务课件.ppt_第1页
第1页 / 共44页
UDS诊疗服务课件.ppt_第2页
第2页 / 共44页
点击查看更多>>
资源描述

《UDS诊疗服务课件.ppt》由会员分享,可在线阅读,更多相关《UDS诊疗服务课件.ppt(44页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。什么是什么是UDS?UDS-Unified diagnostic services (统一诊断服务统一诊断服务)俗称俗称14229.形象的说:就是使用一套仪器,对当前汽车出形象的说:就是使用一套仪器,对当前汽车出现的问题进行分析。而这套仪器与汽车交谈所现的问题进行分析。而这套仪器与汽车交谈所使用的语言就是使用的语言就是UDS(不是唯一的方法)。(不是唯一的方法)。1文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。基本时间参数基本时间参数2定时器定时器最小值最小值标准值标准值最大值最大值P

2、2CAN_Server对于服务器接收到请求消息后发出响应消息时间的性能要求 0-50P2CAN_Client客户端在成功发送完请求消息后等待服务器发送的响应时的 超时设置(FF或SF)100-P2*CAN_Server当服务器在发送否定响应码为0 x78 的否定响应后,到服务 器发出响应消息时间的性能要求 0-5000P2*CAN_Client当客户端在接收到否定响应码为0 x78的否定响应后等待服 务器发送响应时的增强型超时设置(FF或SF)5050-P3CAN_Client_Phys 客户端成功发送物理寻址请求消息,并且该请求消息不需要 服务器进行响应后,客户端再次发送下一个物理寻址请求消

3、 息的最小间隔时间 50-P3CAN_Client_Func 客户端成功发送完功能寻址请求消息,并再次发送下一个功 能寻址请求消息时的最小间隔时间,分两种情况:一种为客 户端发送的请求不需要服务器响应,一种为仅由部分支持该 请求的服务器响应,即存在部分服务器不给予响应。50-文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。寻址方式寻址方式3根据物理地址的不同进行访问-只能访问单个ECU节点根据功能的不同进行访问-能访问多个ECU节点物理寻址功能寻址文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。诊断服务诊断服务4SID描述描述0 x1

4、0DiagnosticSessionControl0 x11ECUReset0 x14ClearDiagnosticInformation0 x19ReadDTCInformation0 x22ReadDataByIdentifier0 x27SecurityAccess0 x28CommunicationControl service0 x2EWriteDataByIdentifier0 x31RoutineControl0 x3ETesterPresent0 x85ControlDTCSetting文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。否定响应(否定

5、响应(1)5数值数值描述描述0 x11serviceNotSupported 服务器不支持客户端请求的诊断服务0 x12subfuntionNotSupported 服务器不支持客户端请求服务的子功能0 x13incorrectMessageLengthOrInvalidFormat 服务器认为客户端的请求报文的数据长度(或者格式)不符合标准0 x22conditionsNotCorrect 服务器执行诊断服务的条件不满足0 x31requestOutOfRange 服务器没有客户端请求的数据,此否定响应适用于支持数据读、写,或者根据数据调整功能的服务器0 x33securityAccessD

6、enied 服务器阻止客户端的受限诊断服务请求,原因包括:服务器的测试条件不满足 服务器的安全状态处于锁定状态文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。否定响应(否定响应(2)6数值数值描述描述0 x35invalidKey 服务器认为客户端返回的密钥错误0 x36exceedNumberOfAttempts 服务器认为客户端尝试安全访问(解锁)的失败次数超标(一般是大于3次)0 x37requiredTimeDelayNotExpired 服务器拒绝客户端的安全访问请求,因为服务器允许接收请求的计时器未到时0 x78requestCorrectlyRece

7、ived-ResponsePending 服务器正确接收到客户端发送的请求,正在处理中,但尚未处理完,此否定响应的发送时间应满足本规范中P2CAN_Server的要求,并且服务器应重复发送此否定响应,直到完成操作。0 x7FserviceNotSupportedInActiveSession 在当前诊断模式下,服务器不支持客户端请求的SID文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。DiagnosticSessionControl7Data Byte No.Parameter NameMessage UsageData Valuehex1Diagnostic

8、Session Control Request Service IDM102Sub Function=Diagnostic Session Type M00-FFDefault Session Positive Response Required 01Programming Session Positive Response Required 02Extended Diagnostic Session Positive Response Required 03Default Session No Positive Response Required 81Programming Session

9、No Positive Response Required82Extended Diagnostic Session -No Positive Response Required83服务请求格式服务请求格式文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。DiagnosticSessionControl8正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Diagnostic Session Control Response Service Id M502Diagnostic Session

10、 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 Invalid Format 13Conditions Not Correct22文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除

11、。ECUReset9服务请求格式服务请求格式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 Required81Soft Reset No Positive Response Required83

12、文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ECUReset10正响应格式正响应格式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-FFSu

13、b Function Not Supported 12Incorrect Message Length Or Invalid Format 13文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ClearDiagnosticInformation11服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Clear Diagnostic Information Request Service IDM142-4groupOfDTC=groupOfDTCHighByte,groupOfDTCMi

14、ddleByte,groupOfDTCLowByteM000000-FFFFFFgroupOfDTChexDescriptionxxxxxxBody GroupxxxxxxNetwork Communication GroupFFFFFFAll Groups文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ClearDiagnosticInformation12正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Clear Diagnostic Information R

15、esponse Service Id M54Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Clear Diagnostic InformationM143Negative Response Trouble CodeM00-FFIncorrect Message Length Or Invalid Format 13Conditions Not Correct 22Request Out Of Range31文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Rea

16、dDTCInformation13服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function=Request Type M00-FFReportNumberOfDTCByStatusMask013DTCStatusMaskM00-FFReport Number of DTC by Status Mask文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformatio

17、n14正响应格式正响应格式负响应格式负响应格式Report Number of DTC by Status MaskData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Request TypeM00-FFReportNumberOfDTCByStatusMask013DTCStatusAvailabilityMaskM00-FF4ISO15031-6 DTC FormatM0056DTCCount=DTC Count High ByteDTC Coun

18、t Low Byte M0000-FFFFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Format 13文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation15服务请求格式服务请求

19、格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function=Request Type M00-FFReportDTCByStatusMask023DTCStatusMaskM00-FFReport DTC by Status Mask文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation16正响应格式正响应格式Report DTC by Status MaskData By

20、te No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Report TypeM00-FFReportDTCByStatusMask023DTCStatusAvailabilityMaskM00-FF4:nDTCAndStatusRecord=DTCHighByte#1DTCMiddleByte#1DTCLowByte#1statusOfDTC#1DTCHighByte#2DTCMiddleByte#2DTCLowByte#2statusOfDTC#2:DTCHighB

21、yte#mDTCMiddleByte#mDTCLowByte#mstatusOfDTC#m C00-FF:00-FF文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation17负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrec

22、t Message Length Or Invalid Format 13Report DTC by Status Mask文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation18服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function=Request Type M00-FFReportDTCSnapshotIdentification04345DT

23、CMaskRecord=DTCHighByteDTCMiddleByteDTCLowByte C00 FF00-FF00-FF6DTCSnapshotRecordNumberC00-FFReport DTC Snapshot Identification文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation19正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Report

24、 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=dataIdentifier#1

25、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 Identification文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Rea

26、dDTCInformation20负响应格式负响应格式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 Range31文档仅供参考,

27、不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation21服务请求格式服务请求格式Report DTC Extended Data Record by DTC NumberData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function=Request Type M00-FFReportDTCExtendedDataRecordByDTCNumber06345DTCMaskRecord=DTCHi

28、ghByteDTCMiddleByteDTCLowByte M000000-FFFFFF6DTCExtendedDataRecordNumberM00-FFDTCExtendedDataRecordNumberhexDescriptionxxRequest DTC occurrence counterxxRequest aging counterxxRequest aged counterxxRequest pending counterxxRequest all extended data records文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadD

29、TCInformation22正响应格式正响应格式Report DTC Snapshot IdentificationData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Response Service IDM592Request TypeM00-FFReportDTCExtendedDataRecordByDTCNumber063456DTCAndStatusRecord=DTCHighByteDTCMiddleByteDTCLowBytestatusOfDTC M7DTCExtendedDat

30、aRecordNumber#1C8:nDTCExtendedDataRecord#1=extendedData#1 byte#1:extendedData#1 byte#p CmDTCExtendedDataRecordNumber#xCm+1:kDTCExtendedDataRecord#x=extendedData#x byte#1:extendedData#x byte#q C文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation23负响应格式负响应格式Report DTC Snapshot IdentificationData

31、 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 Range31文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation24服务请求格式服务请求格式R

32、eport Supported DTCData Byte No.Parameter NameMessage UsageData Valuehex1Read DTC Information Request Service IDM192Sub Function=Request Type M00-FFReportSupportedDTC0A文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation25正响应格式正响应格式Report Supported DTCData Byte No.Parameter NameMessage UsageDat

33、a Valuehex1Read DTC Information Response Service IDM592Report TypeM00-FFReportSupportedDTC0A3DTCStatusAvailabilityMaskM00-FF4DTCAndStatusRecord=DTCHighByte#1DTCMiddleByte#1DTCLowByte#1statusOfDTC#1DTCHighByte#2DTCMiddleByte#2DTCLowByte#2statusOfDTC#2:DTCHighByte#mDTCMiddleByte#mDTCLowByte#mstatusOfD

34、TC#m C文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。ReadDTCInformation26负响应格式负响应格式Report Supported DTCData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Read DTC InformationM193Negative Response Trouble CodeM00-FFSub Function Not Supported 12Incorrect Message Length Or Invalid Form

35、at 13文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Read Data by Identifier27服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Read Data By Identifier Request Service IDM2223DataIdentifier=byte#1(MSB)byte#2 M00-FF00-FF文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Read Data by Identifier28正响应格式正响应格式

36、负响应格式负响应格式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 Response M7F2Read Data By Identif

37、ierM223Negative Response Trouble CodeM00-FFIncorrect Message Length Or Invalid Format 13Request Out Of Range 31文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Security Access29服务请求格式服务请求格式Step 1:Request seedData Byte No.Parameter NameMessage UsageData Valuehex1Security Access Request Service IDM272Sub Functi

38、on=Security Access Type M00-FFRequest Seed01文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Security Access30正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Security Access Response Service IDM672securityAccessTypeM00-FFRequest Seed013456securitySeed=seed#1(MSB)seed#2seed#3seed#4(LS

39、B)M00-FF00-FF00-FF00-FFData Byte 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 Session7F

40、Step 1:Request seed文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Security Access31服务请求格式服务请求格式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#3ke

41、y#4M00-FF00-FF00-FF00-FF文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Security Access32正响应格式正响应格式负响应格式负响应格式Step 2:Seed security keyData Byte No.Parameter NameMessage UsageData Valuehex1Security Access Response Service IDM672securityAccessTypeM00-FFSend Key Security02Data Byte No.Parameter NameMessage Usage

42、Data Valuehex1Negative Response M7F2Security AccessM273Negative Response Trouble CodeM00-FFSub Function Not Supported12Incorrect Message Length Or Invalid Format13Request Sequence Error24Invalid Key35Exceeded Number Of Attempts36Service Not Supported In Active Session7F文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联

43、系网站或本人删除。Communication Control33服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Value1Communication Control Request Service IDM282Sub Function=Control TypeM00-FFEnable Rx And Tx Positive Response Required00Disable Rx And Disable Tx Positive Response Required03Enable Rx And Tx No Positive Re

44、sponse Required80Disable Rx And Disable Tx No Positive Response Required833Communication TypeM00-FFNormal Communication Messages01Network Management Messages02Normal Communication Messages and Network Management Messages03文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Communication Control34正响应格式正响应格式负响应格式负

45、响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Communication Control Response Service ID M682Sub Function=control TypeM00-FFData Byte No.Parameter NameMessage UsageData Valuehex1Negative Response M7F2Communication ControlM283Negative Response Trouble CodeM00-FFSub Function Not Supported 1

46、2Incorrect Message Length Or Invalid Format 13Request Out Of Range31Service Not Supported In Active Session7F文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Write Data by Identifier35服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Write Data by Identifier Request Service IDM2E23DataIdentifi

47、er#1=byte#1(MSB)byte#2 M00-FF00-FF4:m+3DataRecord=data#1:data#m M00-FF:00-FF文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Write Data by Identifier36正响应格式正响应格式负响应格式负响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Write Data by Identifier Response Service IDM6E23DataIdentifier#1=byte#1(MSB)byte#2 M

48、00-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 Of Range 31Security Access Denied33Service Not Supported In Active Se

49、ssion7F文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Routine Control37服务请求格式服务请求格式Data Byte No.Parameter NameMessage UsageData Valuehex1Routine Control Request Service IDM312Sub Function=Routine Control TypeM00-FFStartRoutine01StopRoutine02RequestRoutineResults0334RoutineIdentifier=byte#1(MSB)byte#2M0000-F

50、FFF5:nRoutineControlOptionRecord =routineControlOption#1:routineControlOption#m C文档仅供参考,不能作为科学依据,请勿模仿;如有不当之处,请联系网站或本人删除。Routine Control38正响应格式正响应格式Data Byte No.Parameter NameMessage UsageData Valuehex1Routine Control Response Service IDM712Routine Control TypeM00-FF34RoutineIdentifier#1=byte#1(MSB)b

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 其他杂项

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁