DDT4ALL:CAN 总线车辆诊断工具
跨平台 CAN 总线车辆诊断应用,可自建 ECU 参数界面,并通过多种 OBD-II 适配器与 ECU 通信。
- 浏览
- 6
- 访问
- 0
- 下载
- 0
- Stars
- 1,959
- 版本
- v3.1.6
- 平台
- Windows、macOS、Linux
详细介绍
项目简介
DDT4ALL 是一个跨平台的 CAN 总线车辆诊断应用,使用 Python + PyQt5 编写。它允许用户自行创建 ECU 参数界面,并通过 ELM327、VLinker FS、VGate iCar Pro、OBDLink SX/EX、ELS27 等 OBD-II 接口与 ECU 通信。
主要功能
- 诊断:读取与清除 DTC、手动 ECU 请求、自动扫描 ECU、实时参数监视。
- 界面:自定义 ECU 参数界面设计器、屏幕录制、数据编辑器。
- 网络:CAN 总线嗅探(实时非阻塞捕获)、DoIP、KWP2000。
- 数据库:XML + ZIP(自动
ecu.zip)、JSON 内部转换、图形提取。 - 自动化:插件系统(车辆专用流程)与可扩展的 Python CLI。
- 国际化:15 种语言的 gettext 目录,可实时切换,包含简体中文。
支持的连接方式包括 USB(推荐)、蓝牙和 WiFi(IP:PORT 格式)。DoIP 使用内置的 ISO 13400 驱动,可在连接对话框中选择 DoIP 进行车辆发现与诊断路由。
安装与使用
要求 Python >= 3.8(推荐 3.10+)、PyQt5 >= 5.15,<5.16、pyserial 3.5、pyusb 1.2.1、crcmod 1.7 等依赖。
git clone https://github.com/cedricp/ddt4all.git
cd ddt4all
python -m venv ./venv
source ./venv/bin/activate
pip install -e .
ddt4all
Windows 下激活虚拟环境使用 .\venv\Scripts\activate.bat,也可以用 python -m ddt4all 启动。安装后可用内置的连接测试自动检测适配器与正确波特率。
可选功能依赖:pip install -e ".[can]"、pip install -e ".[network]"、pip install -e ".[bluetooth]"、pip install -e ".[dev]"。
Linux 需要把当前用户加入 dialout 组以访问串口:
sudo usermod -a -G dialout $USER
预编译安装包发布在 Releases 页面。macOS 安装包未签名也未公证,首次启动可能被 Gatekeeper 拦截,可用 Finder 的 Control-click > Open 或在系统设置中允许打开;ECU 数据库单独分发,需将 ecu.zip 复制到 ~/Library/Application Support/ddt4all/ecu.zip 并重启程序。
注意事项
- 软件仍在开发中,只有在了解 CAN 网络与 ECU 工作原理时才可使用 Expert 模式,操作不当可能对车辆造成严重损坏。
- 在非专家模式下,工具设计为对车辆无害。
- 仅用于维护、测试与研究,作者不对任何使用后果负责,使用者自行承担责任。
- 连接失败时可尝试更换波特率(38400、9600、115200)或逐个测试 COM/USB 端口。
本作品整理自 GitHub 开源项目 cedricp/ddt4all,原作者 @cedricp,许可证 GPL-3.0。中文介绍由 AI 根据项目 README 整理,以原仓库为准。
更新记录
- v3.1.6当前版本
修复 R-Link 1 / Navigation-UCC-ITM 等 ECU 需要 500 kbit 的问题,修复若干已知 issue,并更新多语言翻译;同时提供 macOS x86_64 与 arm64 安装包(未签名),ECU 数据库需单独获取。
- v3.1.5
## macOS installation Download the installer matching your Mac: `x86_64` for Intel or `arm64` for Apple Silicon. On Apple Silicon, the Intel build runs only with Rosetta 2 installed; use the native arm64 build when possible. These apps and DMGs are intentionally unsigned and not notarized. macOS Gatekeeper may block the first launch; use Finder's Control-click > Open or approve Open Anyway in System Settings > Privacy & Security. The ECU database is distributed separately and is not included in either application or installer. Install the app, obtain `ecu.zip` through the project's separate database distribution, then copy it to `~/Library/Application Support/ddt4all/ecu.zip`. Restart DDT4ALL after installing or updating the database. ## What's Changed * fix: https://github.com/cedricp/ddt4all/issues/1907 by @Furtif in https://github.com/cedricp/ddt4all/pull/1916 * review macOs matrix and arm64 by @Furtif in https://github.com/cedricp/ddt4all/pull/1922 * fix: wrong val
- v3.1.5.2
v3.1.5.2 主要补充 macOS 安装说明:提供 Intel 与 Apple Silicon 版本,应用未签名需手动放行;ECU 数据库需单独获取并放到指定目录,另含小幅修复。
评论