Pages: [1]   Go Down
Author Topic: Small Issue with AVR-ISP chip flashing  (Read 380 times)
0 Members and 1 Guest are viewing this topic.
Brooklyn
Offline Offline
Newbie
*
Karma: 0
Posts: 13
A world without string is chaos.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

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 https://github.com/ddiakopoulos/hiduino.

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
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

add -b 19200
Logged


Brooklyn
Offline Offline
Newbie
*
Karma: 0
Posts: 13
A world without string is chaos.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Osgeld,

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  smiley-cry



Thanks for your help.
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Brooklyn
Offline Offline
Newbie
*
Karma: 0
Posts: 13
A world without string is chaos.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.



Logged

Pages: [1]   Go Up
Jump to: