mocoLUFA (MIDI firmware for Arduino Uno)
dualMocoLUFA Project
Copyright (C) 2013,2014,2015 by morecat_lab
2015/04/11
http://morecatlab.akiba.coocan.jp/lab/index.php/aruino/midi-firmware-for-arduino-uno-moco/?lang=en
based on LUFA-100807
This is dual mode firmware for Arduino Uno.
There are two mode on this firmware, USB-MIDI(MocoLUFA) and Arduino-Serial.
INSTRUCTIONS
- Burn 16u2 on Arduino Uno.
check original document below.
- USB-MIDI formware work as default.
- To enable Arduino-Serial, ass jumper to PIN 4(MOSI PB2) and PIN6 (grand) on ICSP connector for 16U2.
Reset is required to swicth the firmware mode.
-Yoshi
original readme.txt from Arduino-Serial
To setup the project and upload the Arduino usbserial application firmware to an ATMEGA16U2 using the Arduino USB DFU bootloader:
- unpack the source into LUFA's Projects directory
- set ARDUINO_MODEL_PID in the makefile as appropriate
- do "make clean; make"
- put the 16U2 into USB DFU mode:
4.a. assert and hold the 16U2's RESET line
4.b. assert and hold the 16U2's HWB line
4.c. release the 16U2's RESET line
4.d. release the 16U2's HWB line
- confirm that the board enumerates as either "Arduino Uno DFU" or "Arduino Mega 2560 DFU"
- do "make dfu" (OS X or Linux - dfu-programmer must be installed first) or "make flip" (Windows - Flip must be installed first)
Check that the board enumerates as either "Arduino Uno" or "Arduino Mega 2560". Test by uploading a new Arduino sketch from the Arduino IDE.