Edges – Open source

Edges is open-source. The code and hardware files can be found in the edges directory in our Eurorack modules git repository.

After having cloned the repository, don’t forget to run git submodule init && git submodule update to make sure the sub-projects referenced in the code are also pulled.

Firmware hacking

Toolchain

To build and upload Edges’ code, avr-gcc and avrdude must be installed. These are standard packages on Linux. On OS X, Crosspack can be installed.

Everything that needs to be configured – path to the toolchain and avrdude binaries, AVR programmer type and port is to be found in avrlibx/config.mk.

To build the code, use the following command:

make -f edges/makefile

If you modify lookup tables and want the big resources.cc file to be regenerated:

touch edges/resources/resources.py && make -f edges/makefile resources

Sending the firmware to the module

Programming must be done with an AVR PDI programmer. PDI is Atmel’s upgraded programming standard for the AVR XMega line. Many ISP programmers do not support PDI! A programmer known to work is Atmel’s AVR ISP mkII. Note that some older units will require a firmware upgrade to support PDI – unfortunately this upgrade requires the installation of Atmel’s AVR Studio to be performed.

The PDI programmer must be connected on the back of the module – red stripe of the cable on the same side as the J20 marking on the connector. To upload the code:

make -f edges/makefile upload

Hardware hacking

Schematics, board layout and panel files can be found in the edges/hardware_design directory of the github repository.

The hardware description files are released under a cc-by-sa-3.0 license. The source code is released under a GPL 3.0 license.

Olivier Gillet, Mutable instruments SARL 2011-2016. Except where otherwise noted, content on this site is licensed under a cc-by-sa 3.0 license.