Git Product home page Git Product logo

hairboot's Introduction

hairBoot

A tiny (<0.5KB) bootloader for STM8S low-density family

Usage

  1. Flash hairBoot to stm8s: use STVP and ST-LINK, burn the bin/hex/out to stm8s
  2. Build a app project, get the app bin. Don't forget change app's icf: define region NearFuncCode = [from 0x8200 to 0x9FFF]
  3. Download app bin to stm8s: write a PC program cooperate with hairBoot or just use stm8 launcher~ (search in chrome apps)

Build

  1. Install IAR for stm8, add xxx\IAR Systems\Embedded workbench 6.5\stm8\bin to Environment var Path
  2. Run make.bat to get bin, run out2hex to get hex
  3. fix all interrupt vectors except the vecter 0. change vector n to 0x82008200 + 4*n, eg vector 1: 82008204
  4. finished! you get the bin/hex/out now~

Related

ST-Node: A library and application demos for ST-Node(tiny stm8s moudle)

https://github.com/Zepan/ST-Node.git

hairboot's People

Contributors

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