Flashing a Pre-compiled Binary

Updates to the CAN translator firmware may be distributed as pre-compiled binaries, e.g. if they are distributed by an OEM who does not wish to make the CAN signals public. A binary firmware may be distributed either as a .hex or .bin file.

For the moment, all of the pre-compiled firmare are built to run with a bootloader on the microcontroller.

Quick Start

Windows

  1. Install Cygwin and in the installer, select the following packages:
git, curl, libsasl2, ca-certificates
  1. Start a Cygwin Terminal.
  2. Configure the terminal to ignore Windows-style line endings in scripts:
$ echo "set -o igncr && export SHELLOPTS" >> ~/.bashrc && source ~/.bashrc
  1. Continue to the all platforms section.

OS X

If you already have Git installed, you can skip ahead to the all platforms section

  1. Open the Terminal app.
  2. Install Homebrew: ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
  3. Install Git with Homebrew (brew install git).
  4. Continue to the all platforms section.

Linux

  1. Install Git from your distribution’s package manager.

    Ubuntu:

$ sudo apt-get install git

Arch Linux:

$ [sudo] pacman -S git
  1. Continue to the all platforms section.

All Platforms

  1. If your network uses an Internet proxy (e.g. a corporate network) set the http_proxy and https_proxy environment variables:
$ export http_proxy=<your proxy>
$ export https_proxy=<your proxy>
  1. Clone the cantranslator repository:
$ git clone https://github.com/openxc/cantranslator
  1. Continue on to platform specific documentation.

Table Of Contents

Previous topic

Installation

Next topic

Building from Source

This Page