Git Product home page Git Product logo

master-firmware's Introduction

Master board

Build Status

This is the firmware for the "master" board of the robot, which is used for hard realtime tasks such as control and odometry. It runs on an Olimex E407 board, and communicates with the embedded PC via Ethernet/IP.

Quickstart

This requires a working ARM toolchain and OpenOCD. It also requires CVRA's packager system, you can install it by running sudo pip3 install cvra-packager==1.0.0. By default it assumes you are using a ST-Link V2. You can change this in the Makefile.

    git submodule init
    git submodule update

    packager
    make dsdlc
    make
    make flash

Now the board should be pingable at 192.168.3.20.

Kernel panics

If there is a kernel panic, the board will reboot and turn on a green led. The panic reason is available via the USB shell or via API.

Deploying on the robots

To deploy on the robots we use Fabric which allows to remotely flash the binary. You can install it by running sudo pip install fabric. The script will build the firmware, copy it to the robot and flash the board using the embedded JTAG probe.

To deploy to a robot run : fab debra deploy. To deploy to several robot and a local virtual machine: fab debra caprica vm deploy. To list all available commands: fab -l

master-firmware's People

Contributors

antoinealb avatar froj avatar nuft avatar stapelzeiger avatar syrianspock avatar

Watchers

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