登录
首页 » Others » UDS诊断程序,整车网络测试应用程序(PCAN-UDS API – User Manual.pdf)

UDS诊断程序,整车网络测试应用程序(PCAN-UDS API – User Manual.pdf)

于 2020-06-27 发布
0 360
下载积分: 1 下载次数: 2

代码说明:

UDS_PCAN_APIA应用程序,整车网络诊断应用程序,超值!(PEAK CAN UDS Application Programming InterfaceUser Manual.pdf)PCAN-UDS APi- User ManualContents1 PCAN-UDS API Documentation2 Introduction2.1 Understanding PCAN-UDS2.2 Using PCAN-UDS2.3 Features7888992.4 System Requi rements2.5 Scope of supply3 DLL API Reference3.1 Namespaces103.1.1 Peak Can uds3.2 Units3.21 PuDs Unit3.3 Classes3.3.1 UDSApi3.3.2 TUDSApi3. 4 structures1022334553.4.1 TPUDSMsg3.4.2 TPUDSSessionInfo3.43 TPUDSNetAddrinfo3.5 Types213.5.1 TPUDSCANHand]e223.5.2 TPUDSstatus233.5.3 TPUDSBaudrate253.5.4 TPUDSHWType283.5.5 TPUDSResult303.5.6 TPUDSParameter313.5.7 TPUDSService393.5.8 TPUDSAddress423.5.9 TPUDSCanId443.5.10 TPUDSProtoco l463.5.11 TPUDSAddressingType483.5.12 TPUDSMessageType493.5.13 TPUDSSVCParamDSC503.5.14 TPUDSSVCParamER513.5.15 TPUDSSVCParamcc533.5.16 TPUDSSVCParamTP543.5.17 TPUDSSVCParamcdTCS543.5.18 TPUDSSvCParamROE553.5.19 TPUDSSvCParamROERe commendedserviceID573.5.20 TPUDSSVCParamLC583.5.21 TPUDSSvcParamLCBaudrateidentifier593.5.22 TPUDSSVCParamDI603.5.23 TPUDSSVCParamRDBPI643.5.24 TPUDSSVCParamDDDI653,525 TPUDSSyCParamRDTCI66PCAN-UDS APi- User Manual3.5.26 TPUDSSVCParamRDTCI DTCSVM6935.27 TPUDSSYCParamIOCBI703.5.28 TPUDSSvCParamRC3.5.29 TPUDSSVCParaMRC RID723.6 Methods733.6.1 Initialize753.6.2 Initialize(TpudsCanhandle, tpudsbaudrate)3.6.3 Initialize(TPUdsCANhandle, TPUdSBaudrate, TPudSHWType, UInt32,UInt16)83.6.4 Uninitialize813.6.5 Setvalue843.6.6 Setvalue (TPUdsCanhandle, tpudsparameter, UInt32, uint32)843.6Setvalue (TPUdSCaNHandle, TPUDSParameter, stringBufferUint32)873.6.8 Setvalue (TPUDSANHandle, TPUDSParameter, Byte[], Uint32)883.6.9 Setvalue(Tpudscanhand le, tpudsparameter, IntPtr, UInt32)3.6.10 Getvalue933.6.11 Getvalue (TPUDSCANHandle, TPUDSParameter, StringBufferUint32)933.6. 12 Getvalue (TPUDSCANHandle, tpudsparameter, uint32, Uint32)963.6.13 Getvalue (TPUDsCaNHandle, TPUDSParameter, Byte l], UInt32)993.6. 14 Getvalue (TPUdSCAnhandle, tpudSParameter, Intptr, UInt32)1013.6.15 Getstatus1043.6.16Read1073.6.17 Write3.6.18 Reset1143.6.19 WaitForsing lemessage1163. 6.20 WaitFormultiplemessage1203.6.21 Waitforseryice1263.6.22 WaitForservicefunctional1303.6.23 ProcessResponse1333.6. 24 SvCDiagnosticsessioncontro l1383.6.25 SVCECUReset1413.6.26 SvcSecuri tyAccess1453.6.27 SvCCommunicationControl1483.6.28 SvcTesterpresent1523.6.29 SvcsecuredDataTransmission1553.6.30 SvcControlDTCSetting1583.6.31 SvcResponseonEvent1623.6.32 SVCLinkcontrol1663.6.33 SVCReaddatabyidentifier1703.6. 34 SvcReadMemory ByAddress1733.6.35 SvcReadscal ingdatabyidentifier1773.6. 36 SvcReadDataByperiodicIdentifier1803.6.37 SvcDynamicallydefinedataIdentifierDBID1843.6.38 SvcDynamicall ydefineDataIdentifierDBMA1883.6. 39 SvcDynamical lyDefineDataIdentifierCDDDI1933.6.40 SvcWri teDataByidentifier1973.6. 41 Svcwri teMemory byaddress2003.6.42 SvcClearDi agnosticInformation2053. 6. 43 SVCReadDTCInformation2083.6.44 SvCReadDTCInformationRDTCSSBDTC2113. 6. 45 SvCReaddTCInformationRDTCSSBRN215PCAN-UDS APi- User Manual3. 6.46 SVcReadDTCInformationReportExtended2183.6. 47 SvcReadDTCInformationReportseverity2213,648 SvcReaddTCInformationrsIodtc2253. 6.49 SvCReadDTCInformationNoParam2283.6.50 SvcInputout put contro byidentifier2323. 6.51 SyCRoutineControl2363.6.52 SvCReques tOwn load2393.6.53 SvcRequestUp load2433. 6.54 SVCTransferData2483.6.55 SvCRequestTransferExit2513.7 Functions2563.7.1 UDS Initialize2583.7.2 UDs Uninitialize2593.7.3 UDs Setvalue2603.7.4 UDs Getvalue2613.7.5 UDS Getstatus2623.7.6 UDS Read2643.7.7 UDs Write2653.7.8 UDs Reset2663.7.9 UDS_WaitForsinglemessage2673.7.10 UDS_waitForMultipleMessage2693.7.11 UDs Wai ce2723.7.12 UDS WaitForserviceFunctional2733.7.13 UDS_ Processresponse2753.7.14 UDS_SvcDiagnosticSessionControl2773.7.15 UDS SVCECUReset2783.7.16 DS_SVCSecuri tyAccess2803.7.17 UDS SVCCommunicationcontrol2813.7.18 UDs SvCTesterpresent2833719 UDS SvCSecuredDatatransmission2843.7.20 UDS_SvCControlDTCSetting2863.7.21 UDS_SVCResponseonEvent2873,7.22 UDs SVCLinkcontrol2893.7.23 UDS_SvcReaddatabyidentifier2913.7.24 UDS_SvcReadMemory byAddress2923.7.25 uDs_ SvcReadscalingdatabyidentifier2943.7.26 UDS_SvCReadDataBy Periodi iDentifier2953.7. 27 UDS_SVcDynamical l yDefineDataIdentifierDBID2973.7.28 UDS_SvcDynami call ydefinedataIdentifierDBMa2993.7.29 UDS_SvcDynami cal l yDefineDataIdentifierCDDDI3013. 7.30 UDS_SvcWriteDataByIdentifier3023,7.31 UDs SvcWri teMemorybyaddress3033.7. UDS_SvcClearDiagnosticInformation3053.7.33 UDS SVCReadDTCInformation3073.7. UDs SyCReadDTCInformationRdtCSSBDTC3093.7.35 uDs SvCReadDTCInformationRdtcssbrn3103.7.36 UDS_ SvCReadDTCInformationReportExtended3113.7.37 UDS_SvcReadDTCInformationReportseverity3133.7.38 UDS SVCReadDTCInformationRSIODTC3153,739 UDS SVCReadDTCInformationNoParam3163. 7.40 UDS_SvcInputoutput contro l byIdentifier3,7. 41 UDs SyCRoutinecontrol319PCAN-UDS APi- User Manual3.7.42 UDS_SvcRequestDown load3213.7.43 UDS_ SVCRequestupload32337.44 UDS SyCTransferData3253.7.45 UDS_SVCRequestTransferExit3263.8 Definitions3293.8.1 PCAN-UDS Handle Definitions3293.8.2 Parameter value defintions3313.8.3 TPUDSMsg Member value Definitions3323.8.4 PCAN-UDs Service parameter Definitions3334 Additional Information3354.1 PCAn Fundamentals33542 PCAN-Basic3364.3 UDS and ISO-TP Network Addressing Information3384.3.1 ISO-TP network addressing format3384.4 USing Events3405 License Information3426PCAN-UDS APi- User Manual1 PCAn-UDS APi DocumentationWelcome to the documentation of PCan-UD APl, a PEAK CAN API that implements ISo 15765-3, UDS in CANan international standard that allows a diagnostic tester(client) to control diagnostic functions in an on-vehicleElectronic Control Unit(ECU or serveIn the following chapters you will find all the information needed to take advantage of this aPlIntroduction on page 8DLL API Reference on page 10Additional Information on page 335PCAN-UDS APi- User Manual2 IntroductionPCAN-UDS is a simple programming interface intended to support windows automotive applications that usePEAK-Hardware to communicate with Electronic Control Units(ECU) connected to the bus systems of a car, formaintenance purpose2.1 Understanding PCAN-UDSUDS stands for Unified Diagnostic Services and is a communication protocol of the automotive industry. thisprotocol is described in the norm iSo 14229-1The UDS protocol is the result of 3 other standardized diagnostic communication protocolsIS0 14230-3, as known as Keyword 2000 Protocol(KWP2000L IS0 15765-3, as known as diagnostic on CANISo 15765-2, as known as ISo-TPThe idea of this protocol is to contact all electronic data units installed andCAN OBDninterconnected in a car, in order to provide maintenance, as checking for errors,actualizing of firmware, etcUDS is a Client/Server oriented protocol. In a UDS session(diagnostic session ),aprogram application on a computer constitutes the client(within UDS, it is calledPCAN-UDSTester), the server is the ecu being tested and the diagnostic requests from client toserver are called services. The client always starts with a request and this ends with apositive or negative response from the server(ECuSince the transport protocol of UDS is done using ISo-TP, an international standardPCAN ISOTPfor sending data packets over a CAN Bus, the maximum data length that can betransmitted in a single data-block is 4095 bytes.PCAN-UDS API is an implementation of the Uds on CAN standard the physicalcommunication is carried out by PCAN-Hardware (PCAN-USB, PCAN-PCI etc )throughPCAN-Basithe pCAN-ISo-TP and PCAN-Basic API (free CAN APls from PEAK-System). Because ofthis it is necessary to have also the pCAN-1S0-tP and PCAN-Basic APls(PCAN-ISO-TP. dll and PCAN Basic. dll) present on the working computer where UdS is intended tobe used. PCAN-UDS, PCAN-ISO-TP and PCan-Basic apis are free and available for allFigure 1: Relationship of thepeople that acquire a pCAn-hardware2.2 Using PCAN-UDSSince PCAN-UDS API is built on top of the PCAN-1So-TP API and PCAN-Basic APls, it shares similar functions. Itoffers the possibility to use several PCAn-UDS (PUds) channels within the same application in an easy way. Thecommunication process is divided in 3 phases: initialization interaction and finalization of a puds-channelInitialization In order to do UDS on CAN communication using a channel, it is necessary to initialize it first. Thisis done by making a call to the function UDS_ Initialize (class- method: InitializePCAN-UDS APi- User ManualInteraction: After a successful initialization a channel is ready to communicate with the connected can bus.Further configuration is not needed the 24 functions starting with UDS Svc(class-methods: starting with Svccan be used to transmit UdS requests and the utility functions starting with Uds WaitFor(class- methodsstarting with WaitFor) are used to retrieve the results of a previous request. the Uds read and UDS Write(class-methods: Read and Write are lower level functions to read and write UDs messages from scratch. Ifdesired, extra configuration can be made to improve a communication session, like service request timeouts orISo-TP parametersFinalization: When the communication is finished, the function UDS_ Uninitialize(class-method: Uninitializeshould be called in order to release the puds-channel and the resources allocated for it. In this way thechannel is marked as free"and can be used from other applications23 FeaturesI mplementation of the UDS protocol(iSo 14229-1)for the communication with control unitsWindows DLLs for the development of 32-bit and 64-bit applicationsPhysical communication via Can using a Can interface of the pcan seriesUses the pcan-Basic programming interface to access the can hardware in the computerUses the pCAn-ISo-TP programming interface(iso 15765-2)for the transfer of data packages up to 4095bytes via the can bus2.4 System Requi rementsL- Windows 10, 8.1, 7(32/64-bitAt least 512 Mb ram and 1 GHz CPUPC CAN interface from peak-SystemPCAN-Basic APlL PCAN-SO-TP API2.5 Scope of supplyInterface DLL, examples, and header files for all common programming languagesDocumentation in pdf formatDocumentation in HTML Help formatPCAN-UDS APi- User Manual3 DLL API ReferenceThis section contains information about the data types (classes, structures, types, defines enumerations)andAPI functions which are contained in the pcan-uds api3.1 NamespacesPEAK offers the implementation of some specific programming interfaces as namespaces for the. NEtFramework programming environment. The following namespaces are available:NamespacesNameDescription}PeakContains all namespaces that are part of the managed programming environment fromPEAK-SystemPeak CanContains types and classes for using the PCan aPi from PEAK-SystemPeak Can. LightContains types and classes for using the PCAn-Light API from PEAK-SystemPeak Can basicContains types and classes for using the pcan-Basic APl from PEAK-SystemPeak Can CcpContains types and classes for using the CCP API implementation from PEAK-SystemPeak Can XcpContains types and classes for using the XcP aPi implementation from PEAK-SystemPeak Can. Iso TpContains types and classes for using the pCAN-IS0-TP aPl implementation from PEAKSystelPeak Can, UdsContains types and classes for using the PCan-UDS API implementation from PEAK-SystemPeakCan.Obdll Contains types and classes for using the PCAN-OBDIll API implementation from PEAKSystemt}Peak. LinContains types and classes used to handle with lin devices from PEAK-Systemt}Peak. RP1210AContains types and classes used to handle with can devices from PEak-System through theTMC Recommended Practices 1210, version A, as known as RP1210(A3.1.1 Peak Can UdsThe peak Can. Uds namespace contains types and classes to use the pcan-UdS aPi within the. NET Frameworkprogramming environment and handle pcan devices from peak-SystemRemarks: Under the delphi environment, these elements are enclosed in the puds-Unit. the functionality of allelements included here is just the same. the difference between this namespace and the delphi unit consists inthe fact that delphi accesses the Windows api directly it is not managed code)AliasesAliasDescriptionTPUDSCANHandle Represents a pCAn-UDS channel handleClassesClassDescription像曰UDSApiDefines a class which represents the PCAN-UDS API10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ov7670摄像头stm32驱动大集合.rar
    【实例简介】ov7670摄像头stm32驱动大集合集合,里面有13个ov7670驱动的例子,非常适合初学者,stm32驱动,有3.2寸的tft的驱动也有2.4的驱动,ov7670都是带fifo的,有的ov7670带晶振,有的是stm32产生时钟!
    2021-11-30 00:37:01下载
    积分:1
  • Axure中文教
    Axure是一个可以快速制作网页原型并转换成HTML代码的软件,本教程详细的介绍了Axure的操作指导,推荐致力于网页制作的同学和工作人员使用!配置HTIL原型常规常规注注交分目的文件夹d:40011桌面M002选择一个生成Hm原型的输出目录匚生成一关闭3.生成完成后,会自动弹出一个浏览器窗口,打开生成的原型。9) Hone- mozilla Firefox食可节=国m1,∥/0/a0A面00无标题t可关闭框架B DHomePage 2D Page 3enter text左侧是所有页面的列表enter tex右侧是页面内容4.如果是正E浏览器为默认浏览器,选择”允许阻止内容”。a Untitled Document- microsoft Internet Explorer文件吧)编辑①查看0收藏④5)工具〔)帮助Q⊙团心户数☆收的,品园q自地址))D1201桌面0无标题 Start. html①为希助保护您的安全, Internet Explorer尸经阳时件能问绍的计算机的活动内容,单击允许阻止的内容()Close Frames有何风险)?信息栏帮助QomeB Page 1L Page 2B Page 3浏览器,选择“允许阻止内容。r0o3关闭用IE打开 Axure原型时的安全警告由于用 Axure生成的Htm原型带有 JavaScript脚本,用正在本地直接打开的话会出现安全警告。Untitled Document- microsoft Internet Explorer文件①)编辑①查看0收藏④)工具①)w助00⊙后⊙国团搜☆收的·品园变日地址):101桌面102无标题 Start. html①为帮助保护您的安全, Internet Explorer尸经阳性黑可的记你的计算机的活动内容,单击许阻止的内容④)Close Frames有何风险)?信息栏帮助Q回HomeBPageL Page 2正浏览器,选择“允许阻止内容。为了方便在高级设置里可以关闭这项安全警告。在IE选项一一高级一一安全区,找到允许活动内容在我的计算机上的文件中运行”,打上对勾点击应用”即可。详细设置位置可以见下图Internet选项常规1安全隐私内容连接程序高级设置()口启用集成 indows身份验证要重启动)使用ss2.0使用ssL3.0回活动内容在的计机的攻件中元一的活动内告在耸口允许运行或安装软件,即使签名无效口在安全和非安全模式之间转换时发出警告区重定向提交的表单时发出警告从地址栏中搜索搜时o不从地址栏中搜索显示结果,然后转到最柚近的站点只在主窗口中显示结果击还原默认设置0gL确定取消」应用如果使用的是谷歌浏览器,有一些交互效果可能体现不出来。需要安装一个 Axure RP For chrome演示扩展http://www.webppd.com/thread-2294-1-1.htmlr004把网格调整成5pX更有利于自动对齐axure的主编辑区有网格显示,可以辅助一些自动对齐的作用。把网络的间隔调整成5pX,更有利于内容的自动对齐。注意5px要手写输入,下拉选择里最小是10px。ce RP Pro5.6:授权予 IloveyouAxure查看①涯图①对象)来格()生成⑨共享(帮助(B自定义注解字段和视图(A)…管理页面注释①D管理变量(D活除所有注解重分配脚注号码(B重排所有连接线D网格对话框管理模块中增加的事件(5)式单位:像索网格问际标记模峡思显示屏幕网格标记图片映射区域(B用手写输入0x标记动态面板①D对齐到网格t1+t松G)关闭框图Ctrl+y祥式○直⊙交叉点入框DI设置⊙目○其它列表确定[取消:计::意框把编辑区的冈络调整成5px间隔,更有利于内容的自动对齐。L区r005认识一下 Axure的软件界面打开 Axure软件,照图先简单认识下 Axure的软件界面,无标是ApF56数权子1ym交件①①图对家粉①生惠(3共15帮动D工具栏L口e添加交互动作区正在编稱的页面,点这儿可关闭。自定义Descrption页面导航区添加页面上注度图·A如设置注样选项页面内容编阵区Target Rolea元件面板区和认带模块存放区事件事件晝整頁的文字注榉区真面入加、1自动保完虑r006页面导航区操作1.基本操作一试便知。站点地图中中段日HmePage 1Page 2Page 3基本操作一试便知2.重命名,直接按F2也可以重命名。合4中中应添加(A移动(M应删除①重命名(B动设计页面(E创建副本(cC图表类型(T生成流程图将路径放到脚贴板线框图给页面重命名技巧:选中页面直接按F2也可以重命名,F2是 Windows默认的重命名键。3.创建当前页或分支的副本。回deo- Axure RP Pro5.6:授权予 Iloveyou文件(P)编辑(E查看(y鱿框图()对象(表格〔T)生成站点地图Home区曾分9中中添加(A移动(M删除(D可以复制一份当前页内容重命名(B设计页面(E)创建副本〔c页面(P图表类型(T分支(E生成流程图将UR路径放到剪贴板可以复制一份当前整个分支页内容4.修改图表类型。de0- Axure RP Pro5.6:授权予 Iloveyou.xu文件①)编辑()查看(y)线框图()对象()表格(T生成(站点地图Home中中添加(A:移动(删除①D重命名(B设计页面(E∷:∷创建副本(c图表类型(T线框图生成流程图流程图(P将U路径放刭剪贴板修改类型之后,页面前的图标会有变化。一般在用于画流程图的页面中才修改页面的类型。5.把页面结构生成流程图。园Ao- Axure RPPr56:教权子Il9ym文件①E)线①D查看①)线相图①Y对象()表格生成G)共享①)帮助(D國气圆结点地图4中中之1g,poo ks加(6段班除①重命名(BHome设计贝面(g创本)agePage 2Page 1生成流程Page 2线相目Page 3可以把页面的结构生成流程图图片文本超接6.生成某个页面的URI地址。包de- Axure Pro5.6:授权千1 loveyouAxu文件(D)编辑①E)查看0D就框图(Y对象(Q)表格(T)生成()共享)帮期B四气呐世分移动nH: axure D idemo rp?pid=9336b0ae-1db6-481a-9a42-cf539949a37d像删除⑨重命名(B过设计页面(生成的以上地址可以在本机地址栏里打开,执行后是用 Axure打开对应页面进入编辑代态创津本g图表类型(T注意:整个地址中,任何位置出现中文,打开时将不能找到对应的页面。将师路径放到剪贴板就图此功能基本上没什么用,实际使用中极少用到。r0o7控件面板区一一组件库1. axure提供的默认组件,线框图和流程图。组件线框图所有库线框图流程图超链接Axure默认提供了最常的Web载入库控件,有线框图、流程图包建库(c)编辑库将按钮刷新库(R卸载库(DA表格输入框输入域还可以自己创建或载入库一些人制作和分享的组件库。2.组件库的扩展名为rpb,可以从网上下载获http://www.axure.com/widgetlibraries.aspx可以为你提供更多样式效果的组件。
    2021-05-06下载
    积分:1
  • PSO优化的BP神经网络——python实现
    自己写的,编程渣渣,写的很乱,但也基本实现了,仅供参考。有朋友可以联系我相互讨论学习,
    2020-12-04下载
    积分:1
  • 基于Opencv的二维码识别
    基于Opencv的二维码识别源码!效果比较可以!
    2021-05-06下载
    积分:1
  • 研究LDPC码的性能
    LDPC code 已经用于DVB-S2标准。这个MATLAB程序用来研究LDPC码的性能
    2020-11-30下载
    积分:1
  • NRF24L01图片传输
    用STM32作为处理器,NRF24L01作为传输手段来传输图片或者视频
    2021-05-06下载
    积分:1
  • OFDM信道估计算法LS算法.rar
    【实例简介】该资源主要描述了OFDM信道以及信道估计算法,对LS算法进行了详细的论述、研究和仿真。
    2021-12-05 00:32:53下载
    积分:1
  • 指纹数据库 很全的 FVC2004指纹数据库
    FVC2004指纹数据库 FVC2004指纹数据库 FVC2004指纹数据库
    2020-12-05下载
    积分:1
  • 图像处理评价指标
    图像处理结果所需评价指标,matlab源代码,包括图像的熵,互信息,离散度,空间散度,自相关系数,梯度等等评价指标,评价指标完善。
    2020-12-09下载
    积分:1
  • EOBD诊断开发板代码stm32 obd协议
    包括源程序,操作串口调试助手时,【发送数据】按钮,请采用快捷键F10操作。
    2020-12-12下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载