Skip to content

christoph2/pyxcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

36843fd · Feb 13, 2025
Jan 15, 2025
Nov 30, 2024
Nov 30, 2024
Feb 13, 2025
Feb 13, 2025
Oct 20, 2023
Oct 20, 2023
Mar 20, 2018
Oct 20, 2023
Aug 14, 2022
Oct 11, 2024
Feb 10, 2019
Oct 20, 2023
Jan 7, 2025
Oct 20, 2023
Aug 13, 2024
Mar 1, 2022
Sep 16, 2020
Oct 20, 2023
Oct 20, 2023
Oct 20, 2023
Dec 30, 2024
Aug 23, 2019
Feb 1, 2022
Feb 12, 2025
Feb 13, 2025
Jun 6, 2024
Oct 20, 2023

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+)