Free diagnostics, teach-in and EEPROM analysis for Porsche PDK gearbox controllers.
Panamera 970 (full) Β· 911 991 Β· Boxster/Cayman 981 & 718 Β· 918 Spyder (basic)
One small Windows exe Β· a Tactrix cable Β· no PIWIS needed for diagnosis and teach-in.
- What it is
- Features
- Supported vehicles
- Supported hardware
- Quick start
- How to use it
- Files it creates
- The Mitten Bin
- Building from source
- Repository layout
- FAQ
- Safety and disclaimer
PdkTool is a standalone Windows program for the PDK 3000 transmission control unit used in the Porsche Panamera 970 (2010β2016). The unit is a Continental/Siemens 5WP54023 with an Infineon TC1766 processor, controlling a ZF 7DT70 dual-clutch gearbox. PdkTool talks to the TCU over the OBD port with KWP2000 on CAN, through a Tactrix OpenPort 2.0.
It speaks the TCU's own diagnostic protocol (software G070 and G088), worked out for interoperability: request formats, sessions, units, thresholds, fault codes and freeze-frame layouts. It is meant for repairing your own car or TCUs in a workshop. Common jobs are reading what a fault really means, checking the shift-rod distance sensors, running the basic settings (teach-in) after a repair, and checking a used or donor TCU before you install it.
Important
Status: not yet tested on a car. Everything is derived from static firmware analysis and cross-checked against real TCU dumps, but no on-car run has confirmed it yet. Please report results: open an issue and attach the log or report file.
| Feature | What you get | |
|---|---|---|
| π©Ί | Diagnosis | All stored DTCs, each with an English description, its status (present / stored / intermittent) and a "Check:" repair hint. The catalogue has 218 codes, including all 199 that this firmware can set. |
| π§ | Freeze frames | The snapshot the TCU saved when each fault happened, fully decoded: mileage, oil temperature, pressures, valve currents, engine and input-shaft speeds, vehicle speed, shift-rod positions, clutch adaptation, and which learned data was lost (ID 3063). |
| π | Live data | Distance sensors on all 4 shift rods (PWM duty in % and position in mm), 3 pressure sensors, sensor and actuator supplies, valve currents EDS1β7, engine rpm, vehicle speed. Recorded to CSV, with MARK buttons for P/R/N/D and each gear. |
| π | Guided teach-in | Shift rods (0x20) β hydraulics (0x22) β clutches (0x21), in the order the firmware requires. If the TCU refuses, PdkTool lists every start condition as OK or FAILED, with the firmware threshold (oil temperature window, engine speed, selector in Pβ¦). |
| πΎ | EEPROM analysis | Decodes the TCU's EEPROM: VIN, software, whether the shift rods are taught (with the learned end, neutral and synchro points), clutch touch points and their drift, fast-fill times, hydraulic adaptation, launch counters, operating hours, odometer, event logs. All CRCs are checked. |
| π | Donor / used TCU check | Reads the learned data, block 0x13 and the full EEPROM over OBD, then tells you what the unit needs before it goes into another car. |
| π§° | Full backup over OBD | The complete 1.5 MB flash and the EEPROM, read-only, without opening the TCU. The result is the same as a bench boot-mode dump. |
| π§ | Valve test | Actuates EDS1β7 and MV1β3 one at a time (car standing, selector in P). |
| π§ͺ | Self-test | Checks the program on your PC without a car: seed/key, protocol logic and decoders. |
Pick the vehicle in the Vehicle list at the top of the window.
| Vehicle | Support | What works |
|---|---|---|
| Panamera 970 (2010β2016), PDK 3000 | β Full. The TCU firmware was analysed. | Everything: diagnosis with decoded freeze frames, teach-in with firmware limits, live data, EEPROM analysis, donor read, block 0x13, valve test, full backup |
| 911 (991), Boxster / Cayman (981, 718) with PDK | π‘ Basic. Built from the Porsche diagnostic database. | Diagnosis (fault codes with English text, raw freeze frames), guided teach-in (rods β hydraulics β clutches) with the ZF condition texts, clear DTCs, identification |
| 918 Spyder | π‘ Basic | Same as the 991 / 981 / 718 |
| 911 (992), Panamera 971, Macan | β Not yet | These use UDS and a different TCU generation |
For the basic models, the Porsche database shows that the diagnostic services, CAN IDs (0x70F / 0x779) and teach-in routine numbers are the same as on the 970. Functions that depend on the TCU firmware (live data addresses, EEPROM layout, flasher) stay Panamera 970 only until someone provides a firmware dump of that TCU. Full support for another model needs only that dump; open an issue if you have one.
| Item | Supported |
|---|---|
| Vehicle | See Supported vehicles. Full support: Panamera 970 / 970 II with PDK (TCU 970.618.270.xx, Continental 5WP54023) |
| TCU software | G070 and G088 (others will probably work; live rod data picks the RAM layout automatically) |
| Interface | Tactrix OpenPort 2.0 with its J2534 driver installed |
| PC | Windows (7 or newer). The exe is 32-bit on purpose, because the Tactrix op20pt32.dll is a 32-bit DLL. |
| CAN IDs | Request 0x70F, response 0x779 (from the Porsche diagnostic database) |
- Install the Tactrix OpenPort 2.0 drivers (they register the J2534 DLL; PdkTool finds it through the registry).
- Download
PdkTool_v1.0.zipfrom the latest release and unzip it anywhere. There is nothing to install. - Run
PdkTool.exeand press Self-Test (no car). It must end withALL PASSED. - Connect the cable to the OBD port and switch the ignition ON. Connect a battery charger for anything longer than a quick read. The status line turns green when the Tactrix is detected.
- Press 1. DIAGNOSE.
The main window has five big buttons. Each one runs a whole job from start to end: session, unlock, read, decode and report. You never type KWP commands.
1. DIAGNOSE (read-only): what is wrong, and what to check first
- Reads identification, every stored DTC and the freeze frame of each fault.
- Each fault shows its P-code, English text, status and a Check: line that says what to inspect first and which
PdkTool action helps. For example:
- distance-sensor faults β watch the rod in LIVE DATA;
- P1870/1871/1872 β run that teach-in;
- P174C β read ID 3063 to see which learned data was lost.
- Everything is saved to
PDK_diag_<time>.txtnext to the exe. - To clear the fault memory, use Clear DTCs (Advanced).
2. READ FROM DONOR (read-only): everything the TCU has learned
- Reads the learned data from RAM, then enters the TCU's flasher and reads block 0x13 and the complete EEPROM.
- Prints the VIN, software, market and part number. It also prints whether the shift rods are taught (with all learned positions in mm), the clutch touch points and their drift since the teach-in, the hydraulic adaptation, and operating hours / odometer / average speed.
- It ends with a verdict on which teach-in is still needed.
- Afterwards switch the ignition OFF for 10 s, because the TCU is still in the flasher.
- The same analysis works offline: Analyze EEPROM file decodes a
.binfrom a bench programmer.
3. CHECK BLOCK 0x13 (read-only): is the teach-in parameter block correct?
- Reads calibration block 0x13 and recognises the official Porsche KD Mitten Bin by CRC32. It also compares the block with a file you choose.
- Nothing is written. On the TCUs examined so far, the block was always intact; the learned data lives in the EEPROM.
4. TEACH-IN (guided): the basic settings after a repair
- Runs, in this order: shift rods β hydraulics β clutches. The firmware refuses the clutch teach-in until the hydraulic adaptation is valid.
- Typical conditions: engine running, selector in P, accelerator released, oil temperature in the window (rods 35β100 Β°C, hydraulics and clutches 60β100/110 Β°C), no other active faults.
- If a step is refused or fails, every start condition is printed as
[OK]or[!!], with the firmware limit.
5. LIVE DATA: shift-rod sensors, pressures, valves
- Shows the 4 shift-rod distance sensors live: PWM duty (valid window 8β92 %) and position in mm. Pressures, supplies, valve currents, engine rpm and vehicle speed are shown alongside.
- Press MARK at each selector position or gear. STOP finishes the recording and prints min/max per channel.
- Everything goes to
PDK_rods_<time>.csv, which you can open in Excel.
Advanced: manual buttons
| Button | Purpose |
|---|---|
| Identify / Seed/Key / Unlock | Single protocol steps, for experts |
| EEPROM / Blk13 | Raw reads of the EEPROM and block 0x13 |
| Teach rods / clutch / hydr. | One teach-in routine on its own |
| Clear DTCs | Clears the fault memory (after confirmation) |
| Analyze EEPROM file | Offline decode of an EEPROM dump (32 KB or 128 KB) |
| Valve test | Actuates one valve: EDS1β7 or MV1β3 |
| Full backup | 1.5 MB flash + EEPROM over OBD (several minutes, read-only) |
All files are written next to PdkTool.exe:
| File | Created by |
|---|---|
PDK_diag_<time>.txt |
DIAGNOSE: full report with freeze frames |
PDK_rods_<time>.csv |
LIVE DATA recording |
PDK_donor_<time>_ram.bin, _block13.bin, _EEprom.bin |
READ FROM DONOR |
PDK_<time>_block13.bin |
CHECK BLOCK 0x13 |
PDK_full_<time>_IntFl.bin, _EEprom.bin |
Full backup |
Reading faults, live data, the teach-in routines and most actions need no unlock. A few actions (reading
memory, the flasher) use SecurityAccess (0x27). PdkTool ships no unlock key: the seed β key computation
lives in a local file (src/pdk_key_local.h) that is not published and that you generate from your own licensed
installation. Build with it present and the full tool is enabled; without it everything except those few actions works.
The KD Mitten Bin is the manufacturer's default teach-in parameter block (logical block 0x13). PdkTool does not
include it. If you need it, place your own copy β e.g. block 0x13 read from a good TCU with PdkTool itself, or the
file from your own licensed installation β next to PdkTool.exe as a .bin file. PdkTool recognises it by CRC32:
| Mitten Bin | Model years | CRC32 (first 15872 bytes) |
|---|---|---|
| 970.618.970.00 | MY 2010β2013 and 970 II GTS | 0x811C0A13 |
| 970.618.971.00 | MY 2014+ | 0xF6C74A85 |
Note: on the units examined, block 0x13 already equals the Mitten Bin; after a TCU or mechatronic repair the usual fix is a teach-in, not a new Mitten Bin.
# MinGW-w64 on Linux/macOS, or MSYS2 on Windows
./build.sh # β PdkTool.exe (32-bit, static, no DLLs needed)All of PdkTool is one C++17 file, src/pdktool.cpp, using plain Win32 with no frameworks. The
decoders are header-only (src/*.h).
βββ src/ PdkTool source (pdktool.cpp + decoder headers)
βββ docs/ (your own notes)
βββ tools/ eeprom_decode.py, dtc_hints.py
βββ assets/ README banner
βββ build.sh one-line MinGW build
Do I need PIWIS? Not for diagnosis, live data, teach-in or the EEPROM analysis. PIWIS is only needed for coding. No Mitten Bin is included; see The Mitten Bin.
Will it work with other cables? It is written for the Tactrix OpenPort 2.0. Other J2534 cables may work if their
driver registers under PassThruSupport.04.04, but none has been tested.
Can it write to the TCU? It writes only through official diagnostic routines: teach-in, valve test and clear DTCs. It does not flash firmware, write raw EEPROM or write block 0x13.
My TCU says "shift rods NOT taught". What now? Run 4. TEACH-IN with the engine running, the selector in P and warm oil. The rods come first, then hydraulics, then clutches.
- Car standing, parking brake on, selector in P, battery charger connected.
- After any flasher read (READ FROM DONOR, CHECK BLOCK 0x13, Full backup), switch the ignition OFF for 10 s.
- Valve tests and teach-ins move hydraulics inside the gearbox. Keep clear and follow the prompts.
This project has no connection to Porsche AG, ZF Friedrichshafen AG or Continental AG. All names and part numbers are used only to identify parts. Working on transmission controllers can leave a car unable to drive. The software is provided as is, with no warranty (MIT License).
Made for mechanics who fix PDKs instead of replacing them.
