Firmware for the MetaSequencer module by Microbe Modular
I'm using the Arduino 1.5.7 build, but I'm not sure if that matters.
In the Arduino IDE, under Tools, set your settings to:
Board: Arduino Nano
Programmers: AVRISP mk2 (yours may differ)
Under File/Preferences, turn on verbose output during compilation.
Load the code and click the checkbox to Verify/Compile without uploading.
Compile the code. Look in the verbose output, near the bottom, for the location of the .elf file that was generated. My line looks like this:
C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\Bret\AppData\Local\Temp\build2617538330943428195.tmp/MetaSequencer.cpp.elf
The location and filename of the .elf file will stay the same until you restart the Arduino IDE. So be careful, in the future, not to accidentally use an outdated .elf file, otherwise you'll think to yourself, "What the heck is going on?"
Connect your programmer and power up the unit. If you're using the AVRISP mk2, the stripe should be on the bottom.
Download and open up Atmel Studio. I'm using 6.2. I'm sure that any version after 6.2 will work.
In Atmel Studio, under the Tools menu, select Device Programming
If the device is connected, Atmel Studio will automatically recognize it. Mine says:
Tool: AVRISP mkII
Press the Apply button.
On the left menu that appears, select "Memories"
Under the Flash section, browse for the .elf file and click Program.
That should do it!