Small Issue with AVR-ISP chip flashing


I am attempting to flash the Mega8u2 chip on an Arduino Uno R2 so that computers will be able to identify it as a MIDI device. Here is the information I'm working with GitHub - ddiakopoulos/hiduino: Native USB-MIDI on the Arduino.

I am using an Arduino Uno R3 as the ISP. I've uploaded the ISP code (found in the example folder) to the chip and set it's COM port correctly when identifying it in the Command Line window.

I'm getting this error back...
avrdude: stk500_getsync<>: not in sync: resp=0x00

This is the line I am entering...
avrdude -p at90usb82 -F -P COM22 -c avrisp -U flash:w:HIDUINO_MIDI.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

Any thoughts?

Thank you

add -b 19200


WOOT!!! I was about to pull my hair out.

Bad news though, I ran into another issue specific to this hex file though. I've included a screen capture.

I've dropped the HIDUINO_MIDI.hex file into my C:\ directory. I don't know why avrdude can't find it =(

Thanks for your help.

windows does not include c:\ in its default path, so you could just copy the hex file into your home folder (c:\users"No Panda"), run avrdude from the root folder (c:) or start messing with path's

Thanks so much for the help. Saved my life!

I knew it was something tiny like this.

Here are the photos of the finished controller.