-
Notifications
You must be signed in to change notification settings - Fork 0
Step 2: load the MIDI firmware through DFU
These instructions are for OSX
Official repo is: https://github.com/dfu-programmer
-
git clone https://github.com/dfu-programmer/dfu-programmer.git
-
cd dfu-programmer
-
./bootstrap.sh
(You need automake for this. You can install throughbrew install automake
) -
./configure
-
make
-
make install
-
To double check everything went fine type
dfu-programmer --help
-
Touch with a wire the 2 pins (Reset & GND) shown on the following image:
(You should see the L LED flashing)
-
To double check go to the Arduino IDE, your board should not be on the Port list anymore
You can download the MIDI firmware from here. Right click on Raw > Save Link As...
The firmware has been created by Dimitri Diakopoulos.
Once you are in DFU mode follow these steps to load a new firmware:
-
Erase the current Arduino firmware:
dfu-programmer atmega16u2 erase
-
Load the MIDI firmware:
dfu-programmer atmega16u2 flash arduino_midi.hex
-
Reset the arduino:
dfu-programmer atmega16u2 reset
Unplug your Arduino and plug it back again.
Please note that every time you want to load a new sketch you will need to go into "normal" Arduino. Then you will need to go back into MIDI mode to use the board as MIDI controller.
-
Download the arduino firmware from here. Right click on Raw > Save Link As...
-
Follow the same instructions before to load the firmware, but using
Arduino-usbserial-atmega16u2-Uno-Rev3.hex
instead.
- Make sure you have version 0.7.2. Older versions don't have atmega16u2 so you will get a
Device not detected
message. - Some Arduino UNO clones don't have dfu mode, so you won't be able to load a different firmware.