Skip to content

christoph2/pyxcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyXCP

Codacy Badge Maintainability Build Status Build status Coverage Status Code style: black GPL License

pyXCP is a lightweight Python library which talks to ASAM MCD-1 XCP enabled devices. These are mainly, but not only, automotive ECUs (Electronic Control Units).

XCP is used to take measurements, to adjust parameters, and to flash during the development process.

XCP also replaces the older CCP (CAN Calibration Protocol).


Installation

pyXCP is hosted on Github, get the latest release: https://github.com/christoph2/pyxcp

You can install pyxcp from source:

pip install -r requirements.txt
python setup.py install

Alternatively, you can install pyxcp from source with pip:

pip install git+https://github.com/christoph2/pyxcp.git

Alternatively, get pyxcp from PyPI:

pip install pyxcp

Requirements

  • Python >= 3.7

  • A running XCP slave (of course).

  • If you are using a 64bit Windows version and want to use seed-and-key .dlls (to unlock resources), a GCC compiler capable of creating 32bit executables is required:

    These .dlls almost always ship as 32bit versions, but you can't load a 32bit .dll into a 64bit process, so a small bridging program (asamkeydll.exe) is required.

First steps

T.B.D.

Features

T.B.D.

References

License

GNU Lesser General Public License v3 or later (LGPLv3+)