Git Product home page Git Product logo

canalyze-fw's Introduction

CANalyze Firmware

Native Linux CAN interface. This firmware can be used with the CANalyze hardware.

Features

  • Native CAN interface in Linux
  • Uses SocketCAN and 8dev device driver.
  • USB 2.0 FS and CAN 2.0 interface
  • Support for 11-bit and 29-bit CAN IDs
  • Normal, listen only, loopback and one shot modes
  • Reports CAN errors
  • User defined baud rates
  • Built entirely using open source software
  • Designed for reverse engineering

Installation

You need the CANalyze hardware.

Install required packages

$ sudo apt-get install gcc-arm-none-eabi openocd dfu-util
$ git clone https://github.com/kkuchera/canalyze-fw
$ cd canalyze-fw
$ mkdir lib

Download and unzip STM32CubeF0 to lib/.

Connect the BOOT pins and press reset. Then run

$ make dfu

to make and download the firmware onto the device. Finally remove the BOOT pins jumper and press reset again to start the application.

If you are going to do a lot of flashing it's probably easier to get a STM32 programmer, such as the ST-LINK/V2, and connect the SWD pins. Then you just need to run

$ make flash

when you want make and flash the firmware onto the device.

Getting started

Bring up CAN interface

$ sudo ip link set can0 up type can bitrate 500000

Sniff CAN messages

$ cansniffer -c can0

or dump all CAN messages

$ candump can0

Send a CAN message

$ cansend can0 666#01020304

canalyze-fw's People

Contributors

kkuchera avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.