Git Product home page Git Product logo

fc_boot's Introduction

1) Flash FC firmware:
# reset running firmware (MCU will execute bootloader only for ~1s!)
$ echo -e -n "#aR@S\r" > /dev/ttyUSB1

# flash new firmware
$ avrdude -p m644p -c butterfly -b 57600 -P /dev/ttyUSB1 -U flash:w:/tmp/Flight-Ctrl_MEGA644_V0_82a.hex


2) Flash BLMC firmware (via twiboot):
# enter bootloader (0x1B, 'S'), select first twi-slave ('1'):
$ echo -e -n "\x1BS1" > /dev/ttyUSB1

# flash new firmware
$ avrdude -p m8 -c butterfly -b 57600 -P /dev/ttyUSB1 -U flash:w:/tmp/blmc.hex

# select next twi-slave (bootloader is still active)
$ echo -e -n "2" > /dev/ttyUSB1


3) Other Commands:
'0'       => select FC internal flash/eeprom
'1' - '4' => select twi-slave 1-4, print bootloader version
'I'       => start application on selected twi-slave, print application version
'l'       => start selected motor
'k'       => stop selected motor

fc_boot's People

Contributors

orempel avatar

Watchers

James Cloos 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.