ddiakopoulos / hiduino

:musical_keyboard: Native USB-MIDI on the Arduino
http://www.dimitridiakopoulos.com/hiduino
645 stars 110 forks source link

Problem when flashing up a compiled from scratch hiduino .hex file. #7

Closed sweet-sweats closed 10 years ago

sweet-sweats commented 11 years ago

Hello.

I wanted to compile hiduino from scratch to change the name my device. The compilation seems to run well but after flashing up the firmware on my mega 2560 Ableton Live can't recognize it. It must certainly come from the compilation because it works well with the pre-compiled .hex file. I use Lufa 130303 and the current version of hiduino. Did I forget something when compiling or does the problem come from Lufa or the hiduino scratch?

Thank's. You did an awesome job by the way, it's been really usefull to me.

PS : Sorry if my English is bad.

ddiakopoulos commented 11 years ago

Let me check it out! I haven't done extensive testing with the compiled version (which is a newer, refactored version of the code using the latest LUFA) so I suspect there's something funky but easily fixable.

sweet-sweats commented 11 years ago

Thank's.

ddiakopoulos commented 10 years ago

I investigated this problem and found that LUFA 130303 would compile correctly, but not be recognized by a host computer as you specify. I created the v1.0 git tag to point to an older commit & LUFA version that will work to compile from scratch.

tshone commented 10 years ago

I am also trying to do this same thing with my midi devices. I have downloaded the v1.0 git tagged source but cannot compile with the LUFA 130303. Which version of LUFA should I use to compile the source? Thanks

tshone commented 10 years ago

Ok, I tried some older versions and was able to get the LUFA 101122 to compile. Thank you, this is a huge improvement over the serial-midi converter setup that I had. Cheers.