Skip to content

rusefi/can-log-tools

Repository files navigation

TL,DR DBC

Kvaser Database Editor is the reference tool

CAN file processing

  • split trace file by packet ID
  • per-ID comparison of multiple trace files
  • counter bit region detection
  • charting using MegaLogViewer
gradlew :reader:shadowJar
java -jar reader/build/libs/reader-all.jar "C:\stuff\rusefi_documentation\OEM-Docs\VAG\2006-Passat-B6" -filter passat-back-and-forth-60-seconds -dbc opendbc/vw_golf_mk4.dbc

Charting

We produce two versions of chartable data for https://www.efianalytics.com/MegaLogViewer/ see .mlq files

CAN playback

CAN playback using PCAN on Windows or SocketCAN on Linux.

gradlew :playback:shadowJar
java -jar playback/build/libs/playback-all.jar playback/src/main/resources/atlas.trc

MIM

Offline trace analysis would only get you that far: once/when you run out of luck guessting, you have to promote your efforts towards https://en.wikipedia.org/wiki/Man-in-the-middle_attack

Man-in-the-middle requires a device with at least two CAN buses and something along the lines of https://github.com/rusefi/rusefi/blob/master/firmware/controllers/lua/examples/man-in-the-middle.txt

CAN decoding hints

CAN log file utilities to help me work with https://github.com/brent-stone/CAN_Reverse_Engineering and https://github.com/HeinrichG-V12/E65_ReverseEngineering

  • turning ignition on (wake up)
  • OEM ECU remove, turning ignition on (wake up)
  • turning ignition off (shutdown)
  • from ignition ON cranking and idling
  • door open
  • door close
  • accelerator pedal while engine is off
  • just idling
  • revving while parked: rev from 1500 rpm to 3000 rpm
  • move PRNDL
  • drive forward 3 ft
  • drive backwards 3 ft
  • steady speed driving
  • accelerating
  • braking
  • A/C
  • ignition on, engine not running, press clutch four times
  • ignition on, engine not running, brake pedal three times
  • ignition on, engine not running, throttle pedal from 0% to 50%, to 0%, to 100%, to 0%

See also

https://github.com/ElDominio/CANBUSlogs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors