Logging and analysis guides
Record CAN traffic you can trust, pick the right log format, and decode recordings with a DBC. Covers candump, python-can and cantools, and how to debug bus errors.
5 guides Read them in this order
- CAN log file formats: candump, ASC, BLF, MF4, and CSV A practical comparison of CAN log formats including candump logs, Vector ASC, Vector BLF, MF4/MDF, and CSV for replay, storage, DBC decoding, and engineering analysis.
- How to record CAN bus data without creating useless logs A field-tested workflow for recording CAN and CAN FD traffic with SocketCAN, candump, timestamps, filters, replay, and DBC decode checks.
- How to use candump and can-utils for practical CAN bus debugging A hands-on SocketCAN and can-utils guide for engineers who need to bring up CAN interfaces, capture traffic with candump, send test frames, filter IDs, and prepare logs for DBC decoding.
- Decode CAN logs with python-can and cantools A practical Python workflow for decoding CAN and CAN FD logs with python-can, cantools, DBC files, unknown-ID handling, timestamps, CSV export, and signal validation.
- CAN error frames and bus-off debugging with SocketCAN A practical CAN bus troubleshooting guide covering error frames, error counters, error-active, error-passive, bus-off, bitrate mistakes, termination, SocketCAN diagnostics, and recovery.