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

  1. 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. 12 min read Beginner Reference
  2. 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. 12 min read Beginner Tutorial
  3. 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. 13 min read Intermediate Tutorial
  4. 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. 14 min read Intermediate Tutorial
  5. 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. 13 min read Advanced Tutorial

Other topics