Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

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
You can’t perform that action at this time.