Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (51 sloc) 3.04 KB
description
SavvyCAN is a CAN bus reverse engineering and data capture tool. It allows you to use M2 to send and receive CAN messages both to and from a car.

M2 and SavvyCAN, the Basics

{% embed url="https://www.youtube.com/watch?v=bqI\_Usv77XU" %}

Hardware Needed

Flash M2 with M2RET

M2RET must be flashed to M2 to forward messages from the car to the computer and vice versa.

The easiest way to install M2RET is by downloading the M2RET firmware updater from the SavvyCAN website, the updater can be found here.

Extract "M2RET_FLASH.zip" and follow the instructions in the "HOWTO.txt" file relevant to your operating system. (Make sure M2 is plugged in and any existing serial connections to it are closed) Screenshots are shown below:

{% tabs %} {% tab title="Windows" %} {% endtab %}

{% tab title="OSX" %}

{% endtab %}

{% tab title="Linux" %}

{% endtab %} {% endtabs %}

Source code for M2RET is here:

{% embed url="https://github.com/collin80/SavvyCAN" %}

Connect M2 with SavvyCAN

Download the SavvyCAN version appropriate for your operating system here.

{% hint style="info" %} Disconnecting and reconnecting M2 to the computer after flashing can fix some issues where M2 cannot connect to SavvyCAN {% endhint %}

  • 1) Open the connection window.

  • 2) Click "Add New Device Connection" and create a new serial connection with the relevant port.

  • 3) Test the connection by opening Send Frames>Fuzzing. Click "Start Fuzzing".

Success! M2 lights up and blinks according to the fuzz rate

Use M2 and SavvyCAN on a Vehicle

{% hint style="danger" %} Always be safe when working on or around vehicles and use common sense. {% endhint %}

  • 1) Now close the fuzzing window and plug M2 into the OBDII port of a turned off vehicle. SavvyCAN will begin displaying the CAN frames received from the vehicle.

  • 2) Now try starting the vehicle and observe the increase in CAN traffic. (For a more coherent view try checking the "Overwrite Mode" box)

  • 3) In addition to enabling "Overwrite Mode", individual frames can be filtered by ID using the check boxes on the right side of the screen. This can be useful for determining which IDs are associated with certain actions in the car.

{% hint style="info" %} For more information on using SavvyCAN, try the SavvyCAN docs, Collin Kidder's YouTube channel, or the Macchina forums. {% endhint %}

You can’t perform that action at this time.