Skip to content

Commit 06ec433

Browse files
committed
small docs tweaks
1 parent 0cc5ec3 commit 06ec433

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

drivers/linux/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1+
# Linux driver
12
Installs the panda linux kernel driver using DKMS.
23

34
This will allow the panda to work with tools such as `can-utils`
45

5-
prerequisites:
6+
## Prerequisites
67
- `apt-get install dkms gcc linux-headers-$(uname -r) make sudo`
78

8-
installation:
9+
## Installation
910
- `make link` (only needed the first time. It will report an error on subsequent attempts to link)
1011
- `make all`
1112
- `make install`
1213

13-
uninstall:
14+
## Uninstall
1415
- `make uninstall`
1516

16-
usage:
17+
## Usage
1718

1819
You will need to bring it up using `sudo ifconfig can0 up` or
1920
`sudo ip link set dev can0 up`, depending on your platform.

drivers/windows/README.md

+15-13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
# Windows driver
13
```
24
;" ^; ;' ",
35
______/\\\\\\\\\\\____/\\\\\\\\\_______/\\\\\\\\\\\\\\\______/\\\\\\\\\\_____________/\\\____ ; s$$$$$$$s ;
@@ -17,13 +19,13 @@ ______/\\\\\\\\\\\____/\\\\\\\\\_______/\\\\\\\\\\\\\\\______/\\\\\\\\\\________
1719
|_| (Code by Jessy Diamond Exum)
1820
```
1921

20-
# Installing J2534 driver:
22+
## Installing J2534 driver
2123

2224
[Download](https://github.com/commaai/panda/files/4844692/panda.J2534.driver.install.zip)
2325

2426
Depending on what version of windows you are on, you may need to separately install the WinUSB driver (see next section).
2527

26-
# Installing WinUSB driver:
28+
## Installing WinUSB driver
2729

2830
Installation automatically happens for Windows 8 and Windows 10 because the panda
2931
firmware contains the USB descriptors necessary to auto-install the WinUSB driver.
@@ -36,7 +38,7 @@ More details here:
3638
[WCID Devices](https://github.com/pbatard/libwdi/wiki/WCID-Devices)
3739
[Zadig for installing libusb compatible driver](https://github.com/pbatard/libwdi/wiki/Zadig)
3840

39-
# Using J2534:
41+
## Using J2534
4042

4143
After installing the J2534 drivers for the panda, you can do... nothing.
4244
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
4648
Tool' available in the 'Other Support Applications' section of their
4749
[Download Page](http://www.drewtech.com/downloads/#OtherSupportApplications).
4850

49-
# What is J2534?
51+
## What is J2534?
5052

5153
J2534 is an API that tries to provide a consistent way to send/receive
5254
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:
6668
* Constant vague language about important behavior (small differences between vendors).
6769
* Most common differences become standard in later revisions.
6870

69-
# Why use J2534 with the panda?
71+
## Why use J2534 with the panda?
7072

7173
J2534 is the only interface supported by most professional grade
7274
vehicle diagnostics systems (such as HDS). These tools are useful for
7375
diagnosing vehicles, as well as reverse engineering some lesser known
7476
features.
7577

76-
# What parts are supported with panda?
78+
## What parts are supported with panda?
7779

7880
- [ ] **J1850VPW** *(Outdated, and not physically supported by the panda)*
7981
- [ ] **J1850PWM** *(Outdated, and not physically supported by the panda)*
@@ -82,7 +84,7 @@ features.
8284
- [X] **ISO9141**
8385
- [X] **ISO14230/KWP2000**
8486

85-
# Building the Project:
87+
## Building the Project
8688

8789
This project is developed with Visual Studio 2017, the Windows SDK,
8890
and the Windows Driver Kit (WDK).
@@ -106,20 +108,20 @@ vscruntimeinfo.nsh and follow the instructions to bundle in the Visual Studio C
106108
Runtime required by your version of Visual Studio. Without this runtime, the panda
107109
code will not work, so without this file, the installer will refuse to build.
108110

109-
# Developing:
111+
## Developing
110112

111113
- Edit and merge pandaJ2534DLL\J2534register_x64.reg to register your development J2534 DLL.
112114
- Add your output directory (panda\drivers\windows\Debug_x86) to your system PATH to avoid insanity.
113115

114-
# ToDo Items:
116+
## ToDo Items
115117

116118
- Apply a style-guide and consistent naming convention for Classes/Functions/Variables.
117119
- Send multiple messages (each with a different address) from a given connection at the same time.
118120
- Find more documentation about SW_CAN_PS (Single Wire CAN, aka GMLAN).
119121
- Find example of client using a _PS version of a protocol (PS is pin select, and may support using different CAN buses).
120122

121123

122-
# Known Issues:
124+
## Known Issues
123125

124126
- ISO15765 Multi-frame TX: Hardware delays make transmission overshoot
125127
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.
129131
relaxed to allow serialization of messages based on their address
130132
(making multiple queues, effectively one queue per address).
131133

132-
# Troubleshooting:
134+
## Troubleshooting
133135
troubleshooting:
134136
1. Install DrewTech J2534-1 Bus Analysis Tool
135137
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
138140
4. To figure out why the driver fails to load install Process Monitor and filter by the appropriate process name
139141
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
140142

141-
# Other:
142-
Panda head ASCII art by dcau
143+
## Other
144+
Panda head ASCII art by dcau

0 commit comments

Comments
 (0)