- Add GMLAN 29bit filtering feature. In addition to J1939 matching, it is now possible to match DBC messages using only the Arbitration Id (bits 14-26 of CAN Address), since Priority id (higher bits) and Sender Id (lowest 13 bits) are not relevant when interpreting the CAN message content. This allows to use the excellent GM Global A DBC files on https://github.com/commaai/opendbc. Just remember to select the "GMLAN" matching criteria on DBC File manager. - Add "Filter labeling" feature. Using loaded DBC files, it matches the filter Ids with DBC messages and shows them in filter windows. Labeling works in the main window (no need to set "Frame interpret" on, since this is a separate feature), as well as in Flow view, Frame data analysis, Playback and Fuzzzing windows. This makes it so much easier to concentrate on those CAN messages that matter. To use this feature, select global "Label filters using messages from DBC files" on Main Configuration page, and then enable the feature on individual DBC files (on DBC file manager) as needed. This is needed if there's overlap in CAN addresses between DBC files, and because the filter labeler cannot tell apart anymore which Filter ID is associated to which bus, it might label them incorrectly. But usually it's ok to just enable the labeling with all the DBC files. - In Frame data analysis window, in addition to J1939 decoding show also GMLAN (Priority bits, Arbitration Id, Sender Id) decoding. - FilterUtility static class used for centralized ListWidgetItem creation and for other helper functions - DBC handler: To allow setting bus numbers even before connection is configured, do not enforce "valid" bus numbers
SavvyCAN
Qt based cross platform canbus tool (C) 2015-2018 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.
Really requires at 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:
- BusMaster log file
- Microchip log file
- CRTD format (OVMS log file format from Mark Webb-Johnson)
- GVRET native format
- Generic CSV file (ID,D0 D1 D2 D3 D4 D5 D6 D7)
- Vector Trace files
- IXXAT Minilog files
- CAN-DO Logs
- Vehicle Spy log files
- CANDump / Kayak (Read only)
- 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:
However, this source code is integrated into the source for SavvyCAN and one isn't required to download it separately.
This project requires 5.8.0 or higher because of a dependency on QSerialBus. However, you will get even more SerialBus goodness if you use QT 5.11 or 5.12
Instructions for compiling:
Download the newest stable version of Qt directly from qt.io (You need 5.8.x or newer)
cd ~
git clone https://github.com/collin80/SavvyCAN.git
cd SavvyCAN
~/Qt/5.8/gcc_64/bin/qmake
make
Now run SavvyCAN
./SavvyCAN
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 qtdeclarative5-dev qttools5-dev