Skip to main content

A module for SAE J1850 VPW communication with General Motors vehicles

Project description

pyVPW

A Python module for SAE J1850-VPW communication with 1999-2003 General Motors PCMs using ELM327 scan tools.

Features

  • define and request diagnostic data packets (DPID)
  • read and decode PIDs
  • send and receive and VPW messages
  • read and write data blocks (VIN, Serial Number, OSID, etc.)
  • unlock PCM
  • change VIN

vin_writer.py usage

python vin_writer.py [portname] [vin]

Supported OSIDs

  • 12212156 (p01)
  • 9384022 (p04)
  • probably more, see pcm.py

References

  • PCM Hammer - Tools for reading, writing, and data logging from GM PCMs. Lots of great info here.
  • pcmhacking.net - PCM Hacking forum
  • SAE J1850 - Describes message protocol
  • SAE J1979 - legislated diagnostic test modes ($01-0A)
  • SAE J2190 - non-legislated modes (Extended PIDs, DPIDs, reading/writing memory, etc.)
  • SAE J2178/1 - detailed header format and physical address assignments
  • GM SeedKey Algorithm Paper - Reverse engineered PCM unlock algorithm
  • ELM327 Datasheet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvpw-0.0.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvpw-0.0.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file pyvpw-0.0.1.tar.gz.

File metadata

  • Download URL: pyvpw-0.0.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyvpw-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d5bb520787182f8ed5d60570b16f735bf102ba3182b62d93daab6bcc5388fd01
MD5 2eb68fd63dd89acfbcc8dddb6dd8cb8b
BLAKE2b-256 9e9568eaab1737e267c446d6379fee687c628dc3f02c57cdc70c1801d0473030

See more details on using hashes here.

File details

Details for the file pyvpw-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyvpw-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyvpw-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd2bfc238c5eacac67efdff18165465552c529ed4d6d5ec6491d0cf6e32a39d9
MD5 d4072a4685ba8819c9d8647e67635c40
BLAKE2b-256 bb1ea6dc07475920e169ee331ad01e7042969dc6e6559b92a2a1e2b478b4c187

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page