Go Down

Topic: bootloading a sanguino... (Read 933 times) previous topic - next topic



ok, I've got my breadboard set up like this.  The other end (my arduino) is a ATMEGA2560.  I've got the proper port selected, I'm using the ArduinoISP sketch.  I've selected both ATMEGA2560 as my board, and sanguino as my board.  regardless of which board, I get the following errors:
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Any ideas what I'm doing wrong/need to change?


you need to disable auto reset by placing a 10uf or larger cap from reset to ground to absorb the signal


Or use NickGammon's programmer.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


ok, I tried NickGammon's programmer, and I loaded that sketch on my atmega2650, selected the arduino as ISP for the programmer, tried to burn the bootloader, and got:

avrdude: stk500_getsync(): not in sync: resp=0x00

I pressed the reset button on the programmer, tried again, same error, unplugged the board, plugged it back in (no external powersupply, USB power only) tried again, same error.  (as you can tell, I'm pretty new to this)


I had some trouble myself with my Sanguino clone. I never managed to use an Arduino to burn the bootloader, but with adafruit's USBtinyISP it worked like a charm. Can you get one?


well, I reinstalled the arduino IDE (which I don't think really INSTALLS does it?  It just runs from where you save it,,,) and got me some jumper wires (I was using just basic 24 gage beardboard wires, so maybe I had a bad connection, even though I checked them all multiple times!) and it seemed to work fine?!  So, I don't really know what the problem was?!

Go Up