Go Down

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

bac512

http://www.instructables.com/id/Turn-Your-Arduino-Into-an-ISP/step4/Using-Your-Arduino-ISP-Burning-Bootloaders/

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?

Osgeld

you need to disable auto reset by placing a 10uf or larger cap from reset to ground to absorb the signal
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

CrossRoads

Or use NickGammon's programmer.
http://www.gammon.com.au/forum/?id=11635
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.

bac512

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)

godo

Hi,
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?

bac512

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