Giter VIP home page Giter VIP logo

avr-midi-bootloader's Introduction

No dependency version of the Mutable Instruments MIDI bootloader for AVR.

Things to mess with:
* Path to the avr toolchain and avrdude in base/makefile.mk (TOOLCHAIN_PATH = )
* Programmer name in base/makefile.mk (PROGRAMMER = ). The programmer is expected to be connected to USB.
* External quartz frequency in base/makefile.mk (F_CPU = ).
* MCU type in bootloader/makefile (MCU_NAME = )
* Start address of bootloader code in the "text=0xfc00" line of bootloader/makefile. For example, ATMega644p flash size = 64k - 1k large bootloader => start address of 63k = 0xfc00.
* MCU fuses in bootloader/makefile
* I/O code for displaying LED patterns and deciding whether or not to enter the bootloader RX mode in bootloader/bootloader.c


Setting up the fuses
--------------------

make -f bootloader/makefile fuses


Building the bootloader
-----------------------

make -f bootloader/makefile


Uploading the bootloader code to the MCU
----------------------------------------

make -f bootloader/makefile upload


Producing a SysEx file from a firmware .hex
-------------------------------------------

python tools/hex2sysex/hex2sysex.py --syx -o firmware.syx firmware.hex

Check python tools/hex2sysex/hex2sysex.py -help for more options. In particular, you can change the page size which is configured, by default, to 128 bytes (ATMega644p and 1284p). To know the page size (in words) of a specific device, look up the value of SPM_PAGE_SIZE.

avr-midi-bootloader's People

Watchers

 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.