Skip to content

Instantly share code, notes, and snippets.

@arirusso
Last active November 24, 2021 17:16
Show Gist options
  • Save arirusso/9d55c77618bd1195a9fc238ffac47f18 to your computer and use it in GitHub Desktop.
Save arirusso/9d55c77618bd1195a9fc238ffac47f18 to your computer and use it in GitHub Desktop.

Notes on Building & Uploading Twigs Alt Firmware

This is what I've used to build and upload Twigs 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

Install Twigs Repo

Using Git
git clone git@github.com:arirusso/twigs.git
cd twigs
git submodule init && git submodule update

OR

Download package

Latest stable source & dependencies package here

Build Twigs

From the Twigs project directory

make -f makefile

Install Programmer Software

brew install avrdude

Install AVRFuses from http://vonnieda.org/software/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

Upload

From Twigs project directory

/usr/local/Cellar/avrdude/6.3/bin/avrdude -P usb -c usbasp -p ATmega88P -qq -B 10 -U flash:w:build/twigs/twigs.hex

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