burn bootloader to mega 2560 with and UNO ISP (SOLVED)


im going to install a bootloader to an arduino mega 2560 with arduino UNO as ISP. I follow this steps: http://arduino.cc/en/Tutorial/ArduinoISP and doesnt work for me

but i see in the sketch this lines: // pin name: not-mega: mega(1280 and 2560) // slave reset: 10: 53 // MOSI: 11: 51 // MISO: 12: 50 // SCK: 13: 52

and now i want to know, which of the next images is right wired? 1- 2-


See this link also, NickGammon's method lets the entire memory be used.


thanks CrossRoads it solves my problem!!!

the solution is the picture 1 but the reset is not pin53 is just reset pin, plus the perfect software in the link: Gammon Forum : Electronics : Microprocessors : Atmega bootloader programmer

what do you mean by "but the reset is not pin53 is just reset pin"?? and i want to program atmega 2560 for my interface board can i do it the same way on the interface board??