From 5c905b75253db1094926243d53faa9fa24fad19d Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Thu, 12 Jul 2018 10:08:34 -0700 Subject: [PATCH] update J2534 install instructions --- README.md | 8 ++--- drivers/windows/README.md | 64 ++++++++++++++++++--------------------- 2 files changed, 33 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 460329e..e323d40 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,10 @@ Software interface support As a universal car interface, it should support every reasonable software interface. -- User space ([done](https://github.com/commaai/panda/tree/master/python)) -- socketcan in kernel ([alpha](https://github.com/commaai/panda/tree/master/drivers/linux)) -- ELM327 ([done](https://github.com/commaai/panda/blob/master/boardesp/elm327.c)) -- Windows J2534 ([done](https://github.com/commaai/panda/tree/master/drivers/windows)) +- [User space](https://github.com/commaai/panda/tree/master/python) +- [socketcan in kernel](https://github.com/commaai/panda/tree/master/drivers/linux) (alpha) +- [ELM327](https://github.com/commaai/panda/blob/master/boardesp/elm327.c) +- [Windows J2534](https://github.com/commaai/panda/tree/master/drivers/windows) Directory structure ------ diff --git a/drivers/windows/README.md b/drivers/windows/README.md index c36e6ab..06c7a51 100644 --- a/drivers/windows/README.md +++ b/drivers/windows/README.md @@ -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.