Skip to content

About

πŸ”§ PdkTool β€” free diagnostics, guided teach-in, live data & EEPROM analysis for Porsche PDK gearbox TCUs: Panamera 970 (full), 911 991, Boxster/Cayman 981/718, 918 (basic). Tactrix J2534, KWP2000.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PdkTool – Porsche Panamera 970 PDK3000 diagnostics

Latest release Downloads License

Windows Tactrix J2534 KWP2000 on CAN TCU Vehicles C++17 Status

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.

⬇ Download PdkTool


Contents

What it is

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.

Features

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.

Supported vehicles

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.

Supported hardware

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)

Quick start

  1. Install the Tactrix OpenPort 2.0 drivers (they register the J2534 DLL; PdkTool finds it through the registry).
  2. Download PdkTool_v1.0.zip from the latest release and unzip it anywhere. There is nothing to install.
  3. Run PdkTool.exe and press Self-Test (no car). It must end with ALL PASSED.
  4. 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.
  5. Press 1. DIAGNOSE.

How to use it

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>.txt next 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 .bin from 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)

Files it creates

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

SecurityAccess (unlock)

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 Mitten Bin

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.

Building from source

# 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).

Repository layout

β”œβ”€β”€ 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

FAQ

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.

Safety and disclaimer

  • 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.

About

πŸ”§ PdkTool β€” free diagnostics, guided teach-in, live data & EEPROM analysis for Porsche PDK gearbox TCUs: Panamera 970 (full), 911 991, Boxster/Cayman 981/718, 918 (basic). Tactrix J2534, KWP2000.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages