
2 Flashing the Garvuino board
This board is supposed to work extensively with the Arduino IDE
(http://arduino.cc/). You must download it and use it for developping,
changing sounds and engines. The only exception is if you only intend
to use the board as a AY player, then you can just change the tunes on the
SD card.
Programs on Arduino are called sketches. Most sketches are tested with
Arduino IDE 1.8.# but they should work with IDE 1.6.#
Get the sketches from there:
https://github.com/farvardin/garvuino/archive/master.zip
For flashing, just launch the Arduino IDE, connect the arduino to your
computer using an USB mini cable, select in the tools
>
arduino nano,
atmega328, select the right port.
Load a sketch from the arduino_sketches/ folder.
For flashing, you need to
unplug
the midi cable from your synth ir
garvuino if it’s connected, or powerdown the synth. If you want to develop
a sketch on garvuino, it can be tiresome to always unplug the midi. You
can use a simpler wire
<
=
>
midi connected to the J1, with GND to midi
GND (pin 2) and the other slot (which is connected to the RXD port) to the
midi pin 5, this way it’s faster to unplug. Or use ttymidi or hairless midi serial
to usb port (see above)
In the case you get a:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x32
it can be from different causes. If the midi plug is connected, see advice
above. But it can also appear at random occasions. I suspect it’s because
of some electricity in the atmega8 chip. In this case, you can remove the
9