Macchina Docs
  • Macchina.cc
  • Introduction
    • Disclaimer
  • Product Documentation
    • M2 Docs
      • Getting Started
      • Arduino IDE Quick Start
      • M2 Code libraries
        • CAN bus
        • Single-wire CAN
        • LIN
      • Next Steps with M2
      • Detailed Reference
        • Installation
        • Processor
        • Pin Mapping
        • Automotive Interfaces
        • Communication
          • M2 Bee-Compatible Add-ons
          • Cellular
        • Power
        • Storage/Memory
        • 12V IO
        • LEDS/Buttons
        • Enclosures
        • Breakout Board
        • Schematics and Source
      • Versions of M2
    • A0 Docs
      • Quick Start Guide
      • Firmware Reference
      • Hardware Reference
      • Projects
      • Troubleshooting
    • SuperB Docs
      • Getting Started
      • Hardware
      • Sending AT Commands
    • P1 Docs
      • Getting Started
      • Pin Mapping
      • Interfaces
      • Power Supply Note
    • OBD3way Docs
  • Projects
    • A0 Projects
      • A0 CAN Vehicle Data
      • A0 CAN Point to Point
      • A0 CAN Read VIN
      • Work-in-Progress A0 projects
    • M2 Projects
      • "OK Google, start my car!"
      • M2 and SavvyCAN, the Basics
      • Help Collect Voltage Data
      • Mini-Project Tutorials
        • M2 CAN Loopback
        • M2 CAN Point to Point
        • M2 SWCAN Point to Point
        • M2 VIN Extraction
    • P1 Projects
      • P1 CAN Vehicle Data
      • P1 CAN Loopback
    • Community Projects
    • Project Support
    • Other Resources
  • Support /contact us
    • Contact US / FAQ
    • Common Issues
    • Out of Stock/ Status
Powered by GitBook
On this page
  • Hardware Needed
  • Flash M2 with M2RET
  • Connect M2 with SavvyCAN
  • Use M2 and SavvyCAN on a Vehicle

Was this helpful?

Export as PDF
  1. Projects
  2. M2 Projects

M2 and SavvyCAN, the Basics

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.

Previous"OK Google, start my car!"NextHelp Collect Voltage Data

Last updated 5 years ago

Was this helpful?

Hardware Needed

  • Laptop

  • Test Vehicle

Flash M2 with M2RET

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

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:

Source code for M2RET is here:

Connect M2 with SavvyCAN

Disconnecting and reconnecting M2 to the computer after flashing can fix some issues where M2 cannot connect to SavvyCAN

  • 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".

Use M2 and SavvyCAN on a Vehicle

Always be safe when working on or around vehicles and use common sense.

  • 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.

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

Download the SavvyCAN version appropriate for your operating system

For more information on using SavvyCAN, try , , or .

Macchina M2
USB Cable (The longer the better)
here.
here.
the SavvyCAN docs
Collin Kidder's YouTube channel
the Macchina forums
Success! M2 lights up and blinks according to the fuzz rate
GitHub - collin80/SavvyCAN: QT based cross platform canbus toolGitHub
Logo