|
|
|
@ -18,6 +18,35 @@ ______/\\\\\\\\\\\____/\\\\\\\\\_______/\\\\\\\\\\\\\\\______/\\\\\\\\\\________ |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Installing J2534 driver: |
|
|
|
|
|
|
|
|
|
[Download](https://github.com/commaai/panda/files/1742802/panda.J2534.driver.install.zip) |
|
|
|
|
|
|
|
|
|
Depending on what version of windows you are on, you may need to separately install the WinUSB driver (see next section). |
|
|
|
|
|
|
|
|
|
# Installing WinUSB driver: |
|
|
|
|
|
|
|
|
|
Installation automatically happens for Windows 8 and Windows 10 because the panda |
|
|
|
|
firmware contains the USB descriptors necessary to auto-install the WinUSB driver. |
|
|
|
|
|
|
|
|
|
Windows 7 will not auto-install the WinUSB driver. You can use Zadig to install |
|
|
|
|
the WinUSB driver. This software is not tested on anything before 7. |
|
|
|
|
|
|
|
|
|
More details here: |
|
|
|
|
[WinUSB (Winusb.sys) Installation](https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/winusb-installation) |
|
|
|
|
[WCID Devices](https://github.com/pbatard/libwdi/wiki/WCID-Devices) |
|
|
|
|
[Zadig for installing libusb compatible driver](https://github.com/pbatard/libwdi/wiki/Zadig) |
|
|
|
|
|
|
|
|
|
# Using J2534: |
|
|
|
|
|
|
|
|
|
After installing the J2534 drivers for the panda, you can do... nothing. |
|
|
|
|
You first need to get a J2534 client that can load the drivers and talk to |
|
|
|
|
the panda for you. |
|
|
|
|
|
|
|
|
|
A simple tool for testing J2534 drivers is DrewTech's 'J2534-1 Bus Analysis |
|
|
|
|
Tool' available in the 'Other Support Applications' section of their |
|
|
|
|
[Download Page](http://www.drewtech.com/downloads/). |
|
|
|
|
|
|
|
|
|
# What is J2534? |
|
|
|
|
|
|
|
|
|
J2534 is an API that tries to provide a consistent way to send/receive |
|
|
|
@ -78,41 +107,6 @@ vscruntimeinfo.nsh and follow the instructions to bundle in the Visual Studio C |
|
|
|
|
Runtime required by your version of Visual Studio. Without this runtime, the panda |
|
|
|
|
code will not work, so without this file, the installer will refuse to build. |
|
|
|
|
|
|
|
|
|
# Installing: |
|
|
|
|
|
|
|
|
|
Either build the software yourself by following the steps in the |
|
|
|
|
'Developing' section, or get the panda_installer.exe file and run |
|
|
|
|
it. The wizard should correctly set up the drivers. |
|
|
|
|
|
|
|
|
|
Since this driver is still in development, there are some issues |
|
|
|
|
that may occur. If after you install the driver and then plug in your |
|
|
|
|
panda (unplug it first if it was already plugged in), Windows says |
|
|
|
|
the driver is missing, refer to the section below 'Dealing with self |
|
|
|
|
signed drivers.' |
|
|
|
|
|
|
|
|
|
# Using J2534: |
|
|
|
|
|
|
|
|
|
After installing the J2534 drivers for the panda, you can do... nothing. |
|
|
|
|
You first need to get a J2534 client that can load the drivers and talk to |
|
|
|
|
the panda for you. |
|
|
|
|
|
|
|
|
|
A simple tool for testing J2534 drivers is DrewTech's 'J2534-1 Bus Analysis |
|
|
|
|
Tool' available in the 'Other Support Applications' section of their |
|
|
|
|
[Download Page](http://www.drewtech.com/downloads/). |
|
|
|
|
|
|
|
|
|
# Installing WinUSB driver: |
|
|
|
|
|
|
|
|
|
Installation automatically happens for Windows 8 and Windows 10 because the panda |
|
|
|
|
firmware contains the USB descriptors necessary to auto-install the WinUSB driver. |
|
|
|
|
|
|
|
|
|
Windows 7 will not auto-install the WinUSB driver. You can use Zadig to install |
|
|
|
|
the WinUSB driver. This software is not tested on anything before 7. |
|
|
|
|
|
|
|
|
|
More details here: |
|
|
|
|
[WinUSB (Winusb.sys) Installation](https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/winusb-installation) |
|
|
|
|
[WCID Devices](https://github.com/pbatard/libwdi/wiki/WCID-Devices) |
|
|
|
|
[Zadig for installing libusb compatible driver](https://github.com/pbatard/libwdi/wiki/Zadig) |
|
|
|
|
|
|
|
|
|
# Developing: |
|
|
|
|
|
|
|
|
|
- Edit and merge pandaJ2534DLL\J2534register_x64.reg to register your development J2534 DLL. |
|
|
|
|