Code Monkey home page Code Monkey logo

opensky_bl's Introduction

OpenSky_BL

Bootloader code for the cc2510 to be used by the OpenSky project. The bootloader protocol used is the same as used for stm32f0/1/3, see application note.

The idea is to have a bootloader that can be used from within betaflight without the need for any further software. As betaflight supports the stm32 bootloader protocol, i choosed to implement it for the cc2510. This allows to update/flash the receiver firmware without the need of a cc-tool isp programmer.

#Status Bootloader upload/erase/go is working. Tested with betaflight configurator and stm32flash. Note that Opensky needs to be compiled to with --code-loc 0x0c00 in order to be stored behind the bootloader. The bootloader code redirects all interrupts to the interrupt vector located at 0x0C00.

#TODO Use a gpio hi/lo signal to decide wether to enter the bootloader or to jump to the app.

misc docs: www.st.com/resource/en/application_note/cd00264342.pdf http://www.ti.com/lit/an/swra222b/swra222b.pdf http://www.ti.com/lit/gpn/cc2510 https://github.com/betaflight/betaflight-configurator/blob/master/js/protocols/stm32.js https://sourceforge.net/p/stm32flash/code/ci/master/tree/stm32.c http://www.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=swra371a

opensky_bl's People

Contributors

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