没有合适的资源?快使用搜索试试~ 我知道了~
PCAN-PassThru-API-UserMan-eng.pdf
需积分: 0 0 下载量 172 浏览量
2024-03-07
10:12:57
上传
评论
收藏 1.01MB PDF 举报
温馨提示
试读
19页
PCAN 在INCA中使用的许可配置
资源推荐
资源详情
资源评论
Pass-Thru API and Connection of Pass-Thru
Software to PEAK CAN Interfaces
User Manual
PCAN-PassThru API
04.04
Document version 1.4.1 (2023-03-16)
PCAN-PassThru API 04.04 – User Manual
2
PCAN® is a registered trademark of PEAK-System Technik GmbH.
Other product names in this document may be the trademarks or registered trademarks of their respective companies. They are not
explicitly marked by ™or ®.
© 2023 PEAK-System Technik GmbH
Duplication (copying, printing, or other forms) and the electronic distribution of this document is only allowed with explicit
permission of PEAK-System Technik GmbH. PEAK-System Technik GmbH reserves the right to change technical data without prior
announcement. The general business conditions and the regulations of the license agreement apply. All rights are reserved.
PEAK-System Technik GmbH
Otto-Röhm-Straße 69
64293 Darmstadt
Germany
Phone: +49 6151 8173-20
Fax: +49 6151 8173-29
www.peak-system.com
info@peak-system.com
Documen
t version 1.4.1 (2023-03-16)
PCAN-PassThru API 04.04 – User Manual
3
Contents
1 Introduction 4
1.1 Features 4
1.2 System Requirements 4
1.3 Scope of Supply 5
2 Installation 6
2.1 Hardware Interface Configuration 6
2.1.1 Additional Options 7
3 Programming Interface 8
3.1 Implementation 8
3.1.1 PassThru Functions 8
3.1.2 PassThru Message Structure 9
3.1.3 PassThruIoctl 9
3.2 Function Examples 10
3.2.1 Opening a PassThru Device 10
3.2.2 Connecting to CAN 11
3.2.3 Connecting to CAN FD 11
3.2.4 Writing Messages 12
3.2.5 Setting a Filter Message 12
3.2.6 Reading Messages 12
3.2.7 Tx Loopback Configuration 13
3.2.8 Periodic Messages 13
3.2.9 Disconnect from the channel 13
3.2.10 Close the device 14
3.3 Technical Notes 14
3.3.1 Rx/Tx Queues 14
3.3.2 Message Filtering 14
3.3.3 Periodic Messages 14
3.3.4 ERROR_IND with ISO15765 14
4 License Information 15
Appendix A Supported Features from SAE J2534 and GM Extensions 16
A.1 SAE J2534-1 Revised DEC2004 16
A.1.1 Communication Protocols 16
A.1.2 Other Features 16
A.1.3 PASSTHRUIOCTL 16
A.2 SAE J2534-2 Revised JAN2019 17
A.3 SAE J2534-1 Revised OCT2015 18
A.4 GM Extension GMW17753 18
A.5 Supported Bit Rates 19
PCAN-PassThru API 04.04 – User Manual
4
1 Introduction
For the programming of control units (ECU), there are many applications from various manufacturers
which are used in the development and diagnosis of vehicle electronics. The interface for the communi-
cation between these applications and the control units is defined by the international standard SAE
J2534 (Pass-Thru). Thus, the hardware for the connection to the control unit can be selected regardless of
its manufacturer.
PCAN-PassThru allows the use of SAE J2534-based applications with CAN adapters from PEAK-System.
The functions defined by the standard are provided by Windows DLLs for 32 and 64-bit systems. These
can also be used to develop own Pass-Thru applications. The API is thread-safe. It uses mutual exclusion
mechanisms to allow several threads from one or several processes to call functions of the API in a safe
way.
The communication via CAN and OBD-2 (ISO 15765-4) is based on the programming interfaces PCAN-
Basic and PCAN-ISO-TP. PCAN-PassThru is supplied with each PC CAN interface from PEAK-System.
Note: The SAE J2534 protocol is fully described in its norm. It is required for the development of
your own Pass-Thru applications. This manual cannot supersede this API documentation.
1.1 Features
Implementation of the international standard SAE J2534 version 04.04 (Pass-Thru)
Implementation of SAE J2534 extension J2535-2:2019 and General Motors’ extension GMW17753 to
support CAN FD and messages extension
Use of SAE J2534 applications with PC CAN interfaces from PEAK-System
Windows DLLs for the development of your own SAE J2534 applications for the platforms Windows®
11 (x64/ARM64), 10 (x86/x64)
Thread-safe API
Physical communication via CAN and OBD-2 (ISO 15765-4) using a CAN interface of the PCAN series
Uses the PCAN-Basic programming interface to access the CAN hardware in the computer
Uses the PCAN-ISO-TP programming interface (ISO 15765-2) for the transfer of data packages up to
4095 (or 32768 with GMW17753 extension) bytes via the CAN bus
1.2 System Requirements
Windows 11 (x64/ARM64), Windows 10 (x64)
For the CAN bus connection: PC CAN interface from PEAK-System
PCAN-Basic API
PCAN-ISO-TP API
Note: The required API PCAN-ISO-TP is installed with the PCAN-PassThru setup. The PCAN-Basic API
must be installed using the PEAK-Drivers Setup.
剩余18页未读,继续阅读
资源评论
THUNDAR_CSDN
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功