1
+
2
+ # Windows driver
1
3
```
2
4
;" ^; ;' ",
3
5
______/\\\\\\\\\\\____/\\\\\\\\\_______/\\\\\\\\\\\\\\\______/\\\\\\\\\\_____________/\\\____ ; s$$$$$$$s ;
@@ -17,13 +19,13 @@ ______/\\\\\\\\\\\____/\\\\\\\\\_______/\\\\\\\\\\\\\\\______/\\\\\\\\\\________
17
19
|_| (Code by Jessy Diamond Exum)
18
20
```
19
21
20
- # Installing J2534 driver:
22
+ ## Installing J2534 driver
21
23
22
24
[ Download] ( https://github.com/commaai/panda/files/4844692/panda.J2534.driver.install.zip )
23
25
24
26
Depending on what version of windows you are on, you may need to separately install the WinUSB driver (see next section).
25
27
26
- # Installing WinUSB driver:
28
+ ## Installing WinUSB driver
27
29
28
30
Installation automatically happens for Windows 8 and Windows 10 because the panda
29
31
firmware contains the USB descriptors necessary to auto-install the WinUSB driver.
@@ -36,7 +38,7 @@ More details here:
36
38
[ WCID Devices] ( https://github.com/pbatard/libwdi/wiki/WCID-Devices )
37
39
[ Zadig for installing libusb compatible driver] ( https://github.com/pbatard/libwdi/wiki/Zadig )
38
40
39
- # Using J2534:
41
+ ## Using J2534
40
42
41
43
After installing the J2534 drivers for the panda, you can do... nothing.
42
44
You first need to get a J2534 client that can load the drivers and talk to
@@ -46,7 +48,7 @@ A simple tool for testing J2534 drivers is DrewTech's 'J2534-1 Bus Analysis
46
48
Tool' available in the 'Other Support Applications' section of their
47
49
[ Download Page] ( http://www.drewtech.com/downloads/#OtherSupportApplications ) .
48
50
49
- # What is J2534?
51
+ ## What is J2534?
50
52
51
53
J2534 is an API that tries to provide a consistent way to send/receive
52
54
messages over the many different protocols supported by the OBD II
@@ -66,14 +68,14 @@ A lot of J2534 has good ideas behind it, but the standard has some odd choices:
66
68
* Constant vague language about important behavior (small differences between vendors).
67
69
* Most common differences become standard in later revisions.
68
70
69
- # Why use J2534 with the panda?
71
+ ## Why use J2534 with the panda?
70
72
71
73
J2534 is the only interface supported by most professional grade
72
74
vehicle diagnostics systems (such as HDS). These tools are useful for
73
75
diagnosing vehicles, as well as reverse engineering some lesser known
74
76
features.
75
77
76
- # What parts are supported with panda?
78
+ ## What parts are supported with panda?
77
79
78
80
- [ ] ** J1850VPW** * (Outdated, and not physically supported by the panda)*
79
81
- [ ] ** J1850PWM** * (Outdated, and not physically supported by the panda)*
@@ -82,7 +84,7 @@ features.
82
84
- [X] ** ISO9141**
83
85
- [X] ** ISO14230/KWP2000**
84
86
85
- # Building the Project:
87
+ ## Building the Project
86
88
87
89
This project is developed with Visual Studio 2017, the Windows SDK,
88
90
and the Windows Driver Kit (WDK).
@@ -106,20 +108,20 @@ vscruntimeinfo.nsh and follow the instructions to bundle in the Visual Studio C
106
108
Runtime required by your version of Visual Studio. Without this runtime, the panda
107
109
code will not work, so without this file, the installer will refuse to build.
108
110
109
- # Developing:
111
+ ## Developing
110
112
111
113
- Edit and merge pandaJ2534DLL\J2534register_x64.reg to register your development J2534 DLL.
112
114
- Add your output directory (panda\drivers\windows\Debug_x86) to your system PATH to avoid insanity.
113
115
114
- # ToDo Items:
116
+ ## ToDo Items
115
117
116
118
- Apply a style-guide and consistent naming convention for Classes/Functions/Variables.
117
119
- Send multiple messages (each with a different address) from a given connection at the same time.
118
120
- Find more documentation about SW_CAN_PS (Single Wire CAN, aka GMLAN).
119
121
- Find example of client using a _ PS version of a protocol (PS is pin select, and may support using different CAN buses).
120
122
121
123
122
- # Known Issues:
124
+ ## Known Issues
123
125
124
126
- ISO15765 Multi-frame TX: Hardware delays make transmission overshoot
125
127
STMIN by several milliseconds. This does not violate the requirements
@@ -129,7 +131,7 @@ code will not work, so without this file, the installer will refuse to build.
129
131
relaxed to allow serialization of messages based on their address
130
132
(making multiple queues, effectively one queue per address).
131
133
132
- # Troubleshooting:
134
+ ## Troubleshooting
133
135
troubleshooting:
134
136
1 . Install DrewTech J2534-1 Bus Analysis Tool
135
137
http://www.drewtech.com/downloads/tools/Drew%20Technologies%20Tool%20for%20J2534-1%20API%20v1.07.msi
@@ -138,5 +140,5 @@ http://www.drewtech.com/downloads/tools/Drew%20Technologies%20Tool%20for%20J2534
138
140
4 . To figure out why the driver fails to load install Process Monitor and filter by the appropriate process name
139
141
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
140
142
141
- # Other:
142
- Panda head ASCII art by dcau
143
+ ## Other
144
+ Panda head ASCII art by dcau
0 commit comments