Skip to content

Instantly share code, notes, and snippets.

@arirusso
Last active August 12, 2024 15:42
Show Gist options
  • Save arirusso/88e5f4d04e99e3fdf8914225cea74581 to your computer and use it in GitHub Desktop.
Save arirusso/88e5f4d04e99e3fdf8914225cea74581 to your computer and use it in GitHub Desktop.
Build & Upload Mutable Instruments Branches Firmware

Build & Upload Mutable Instruments Branches Software

This is what I used to build Branches using OSX 10.11.4

This is the AVR interface I'm using

Install GCC ARM Toolchain

brew tap PX4/homebrew-px4
brew update
brew install gcc-arm-none-eabi
brew cask install crosspack-avr

Install Mutable Repo

git clone [email protected]:pichenettes/eurorack.git
cd eurorack
git submodule init && git submodule update

Install Programmer Software

brew install avrdude

Install AVRFuses from http://vonnieda.org/software/avrfuses

Configure AVRFuses

GUI

AVRFuses1

AVRFuses2

Command-line

From eurorack project directory

avrdude -P usb -c usbasp -p ATmega88P -qq -B 10 -U flash:w:build/branches/branches.hex

Build Branches

make -f branches/makefile

Upload using AVRFuses

Connect Module

Connect the interface, red stripe facing in/towards the other side of the module

Stripe

It's not necessary to power the module via Eurorack in order to upload. I have had both the AVR interface and Eurorack powering the module at the same time and it doesn't appear to cause any problems

@nissaba
Copy link

nissaba commented Aug 12, 2024

if any one as an error that "/usr/local/arm-4.8.3/" is not found and you have installed usign brew it should be located at "/opt/homebrew/Cellar/gcc-arm-none-eabi/20200630/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment