Since yesterday I'm trying to bootload some atmega328-pu's, but I have some troubles with bootloading them. I've googled a real lot but I couldn't find any solutions. I even checked and changed the wiring for over 20 times. I'm currently stuck at the last picture on this page: http://arduino.cc/en/Tutorial/ArduinoISP. I'm using an arduino mega 2560 and I have wired the pins correctly: MISO (50), MOSI (51), SCK (52) and SS (53). But still I always get the following message when I try to burn them:
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
So what I do is: - Go to "file > examples > ArduinoISP" - Upload "ArduinoISP" to my arduino mega 2560 - Make sure "tools > programmer> arduino as isp" is selected - Go to "tools > burn bootloader" And that's how I end getting the error described above. PS: I have the right board selected: "arduino mega 2560 or mega adk"
Hope someone can help me with this common problem so hopefully even other people can profit from the solution.
Thanks in advance!