• Stars
    star
    1,018
  • Rank 45,203 (Top 0.9 %)
  • Language
    C++
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

QT based cross platform canbus tool

SavvyCAN

Qt based cross platform canbus tool (C) 2015-2021 EVTV and Collin Kidder

A Qt5 based cross platform tool which can be used to load, save, and capture canbus frames. This tool is designed to help with visualization, reverse engineering, debugging, and capturing of canbus frames.

Please use the "Discussions" tab here on GitHub to ask questions and interact with the community.

Requires a resolution of at least 1024x768. Fully multi-monitor capable. Works on 4K monitors as well.

You are highly recommended to use the CANDue board from EVTV.

The CANDue board must be running the GVRET firmware which can also be found within the collin80 repos.

It is now possible to use any Qt SerialBus driver (socketcan, Vector, PeakCAN, TinyCAN). There may, however, be some loss of some functionality as some functions of SavvyCAN are designed for use directly with the EVTVDue and CANDue 2.0 boards.

It should, however, be noted that use of a capture device is not required to make use of this program. It can load and save in several formats:

  1. BusMaster log file
  2. Microchip log file
  3. CRTD format (OVMS log file format from Mark Webb-Johnson)
  4. GVRET native format
  5. Generic CSV file (ID, D0 D1 D2 D3 D4 D5 D6 D7)
  6. Vector Trace files
  7. IXXAT Minilog files
  8. CAN-DO Logs
  9. Vehicle Spy log files
  10. CANDump / Kayak (Read only)
  11. PCAN Viewer (Read Only)

Dependencies

Now this code does not depend on anything other than what is in the source tree or available from the Qt installer.

Uses QCustomPlot available at:

http://www.qcustomplot.com/

However, this source code is integrated into the source for SavvyCAN and one isn't required to download it separately.

This project requires 5.14.0 or higher because of a dependency on QtSerialBus and other new additions to Qt.

NOTE: Qt6 currently lacks support for QtSerialBus and many other Qt sub-features. At this time you cannot use Qt6 to compile SavvyCAN. Support for Qt6 should be possible around Qt6.2.

Instructions for compiling:

Download the newest stable version of Qt directly from qt.io (You need 5.14.x or newer)

cd ~

git clone https://github.com/collin80/SavvyCAN.git

cd SavvyCAN

~/Qt/5.14/gcc_64/bin/qmake

make

Now run SavvyCAN

./SavvyCAN

On linux systems you can run ./install.sh to create a desktop shortcut.

Compiling in debug mode for additional information

qmake CONFIG+=debug

make

What to do if your compile failed?

The very first thing to do is try:

qmake

make clean

make

Did that fix it? Great! If not, ensure that you selected SerialBUS support when you installed Qt.

What to do if qmake fails with error Project ERROR: Unknown module(s) in QT: qml serialbus help on Ubuntu? :

sudo apt install libqt5serialbus5-dev libqt5serialport5-dev qtdeclarative5-dev qttools5-dev

Used Items Requiring Attribution

nodes by Adrien Coquet from the Noun Project

message by Vectorstall from the Noun Project

signal by shashank singh from the Noun Project

signal by juli from the Noun Project

signal by yudi from the Noun Project

Death by Adrien Coquet from the Noun Project

More Repositories

1

esp32_can

Arduino ESP32 library supporting the on-chip CAN module
C++
260
star
2

due_can

Object oriented canbus library for Arduino Due compatible boards
C++
252
star
3

ESP32RET

CAN Reverse engineering tool for ESP32 based boards (specifically EVTV ESP32Due)
C++
197
star
4

TeslaBMS

C++
160
star
5

GEVCU

Generalized Electric Vehicle Control Unit
Eagle
114
star
6

can_common

Common structures and functionality for CAN libraries
C++
107
star
7

GVRET

Generalized Vehicle Reverse Engineering Tool - firmware for Arduino Due based boards
C++
99
star
8

M2RET

GVRET fork to Macchina M2 board
C++
71
star
9

GEVCU6

Generalized Vehicle Control Unit for version 6 boards
C++
25
star
10

JLD505

Arduino
24
star
11

GEVCU7

7th generation GEVCU source code
C++
21
star
12

A0RET

CANBus reverse engineering firmware for the Macchina A0
C++
16
star
13

due_wire

An alternative I2C library for Due with DMA support
C++
15
star
14

FirmwareReceiver

C++
14
star
15

OBD2Scan

Sketch to scan OBDII with an M2
C
12
star
16

due_canopen

CANOpen library for due_can
C++
11
star
17

CRC_Nissan

C# app that shows a simple way to calculate the CRC byte used by some canbus frames in Nissan Leafs
C#
11
star
18

DueMotorCtrl

An Arduino Due (SAM3X) based motor controller. Somewhat generic in terms of hardware but really meant primarily to replace the main board in a DMOC645
C++
10
star
19

8051Disassembler

Open source disassembler custom built to disassemble SiLabs C8051F530 code from Tesla BMS
C
9
star
20

OscilloscopeViewer

Visualizer of oscilloscope captures
C++
9
star
21

pymqtt2can

Python based CAN to MQTT tunnel
Python
8
star
22

DS2480B

OneWire library custom engineered for JLD505 boards with DS2480B chips
C++
8
star
23

TeensyRET

CANBus reverse engineering firmware for Teensy 3.x boards
C++
7
star
24

TeslaBMS-ESP32

ESP32 port of the existing TeslaBMS program
C++
7
star
25

Envoy

Enphase Envoy Interface Library
C++
7
star
26

Open-SAE-J1939

C
6
star
27

bms

EVTV BMS
C++
6
star
28

EEPROMAnything

C++
5
star
29

ade9000

C
5
star
30

Wire_EEPROM

I2C based routines to support EEPROM on the Due. Requires the due_wire library from my repo
C++
5
star
31

PhoneCANLogger

Grabs traffic from ESP32RET devices and stores the CAN frames to your phone/tablet
C++
5
star
32

pwm01

Enhanced PWM library for Arduino Due
C++
4
star
33

GEVCU_MobileApp

Cross platform configuration and status tool for GEVCU
QML
3
star
34

Arduino_Due_SD_HSCMI

Fork of HSCMI library for sdcard reading/writing
C++
3
star
35

AWS_IOT

Arduino library to use Amazon IOT (MQTT)
C
3
star
36

mcp_can

C++
2
star
37

GVRET-PC

C# Application for PC that interfaces with the GVRET firmware to provide reverse engineering help.
C#
2
star
38

SerialViewer

A very simplistic program meant for viewing serial traffic from embedded controllers
C++
1
star
39

SamNonDuePin

Fork of a library that allows use of pins not normally mapped on Arduino Due
C++
1
star
40

SD_HSCMI

Fork of library that support SD card access over HSCMI on SAM3X boards
C
1
star
41

powerkey-j1939

Library to support PowerKeyPro keypads that use J1939 signalling
C++
1
star
42

GattServer_GEVCU

A GATT Server running on ESP32 for use with GEVCU (or other boards)
C
1
star