I updated my MIDI firmware for mega8u2 on Arduino Uno. I named the new version "dualMocoLUFA".
Now, you don't need to re-program mega8u2 every time you program mega328.
One can choose either Arduino-serial for Ardunio IDE, or MocoLUFA driver for USB-MIDI at runtime.
For more information, please look at the following page.
I really like to use your dualMocoLUFA and gave it a try. Uploading your compiled hex works flawless with an ATMEGA16U2 (via Flip), but unfortunately not with an ATMEGA8U2. For 8U Flip states “Address is out of range”.
Does the dualMocoLUFA not fit into the flash of the 8U2?