user4251: I have posted this on the Arduino forum also, but I give it more chance if posted here also.
I've been trying to use my Arduino Mega as an ISP for programming two different ATMEGA328P's and a ATINY2313, but I just don't succeed.
I am running the Arduino IDE (version 1.5.8 ) on windows 7. I've been using these http://www.instructables.com/id/How-to-use-Arduino-Mega-2560-as-Arduino-isp/ http://www.instructables.com/id/Arduino-ATtiny2313-Programming-Shield/ instructables for help. The circuit are built on a breadboard. On my Arduino Mega is use the pins reset: 53, MOSI: 51, MISO: 50, SCK: 52.
First I upload the arduino as ISP sketch on my Mega. There are LEDs on the programming, error and heartbeat outputs, the heardbeat is pounding. I then select the according board from the boards list (the ATINY2313 1MHz from the instructable for the ATTINY and either the Arduino UNO or the Arduino Duelimanove for the ATMEGA328P) and after that the programmer árduino as ISP'. When uploading the Blink sketch I get errors like:
avrdude: Yikes! Invalid device signature
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I have tried things like capacitors/resistors between the reset and the ground or between the reset and the +5V, but nothing different. I have searched for help on the internet and alot of people have problems with it, but no clear or working answers. I have been looking at the MegaISP guide form Arduino, but this is not very clear to me.
I have no idea where to start anymore. Does anybody have an idea what I can try or where to start searching for answers?
I appriciate all the help I can get!

user13911: This worked for me dude :)
See this:
http://www.instructables.com/id/Bootloading-ATmega328-with-Arduino-Mega2560/?ALLSTEPS

4251: <p>I have posted this on the Arduino forum also, but I give it more chance if posted here also.</p>

<p>I've been trying to use my Arduino Mega as an ISP for programming two different ATMEGA328P's and a ATINY2313, but I just don't succeed.</p>

<p>I am running the Arduino IDE (version 1.5.8 ) on windows 7. I've been using these <a href="http://www.instructables.com/id/How-to-use-Arduino-Mega-2560-as-Arduino-isp/" rel="nofollow">http://www.instructables.com/id/How-to-use-Arduino-Mega-2560-as-Arduino-isp/</a> <a href="http://www.instructables.com/id/Arduino-ATtiny2313-Programming-Shield/" rel="nofollow">http://www.instructables.com/id/Arduino-ATtiny2313-Programming-Shield/</a> instructables for help. The circuit are built on a breadboard. On my Arduino Mega is use the pins reset: 53, MOSI: 51, MISO: 50, SCK: 52.</p>

<p>First I upload the arduino as ISP sketch on my Mega. There are LEDs on the programming, error and heartbeat outputs, the heardbeat is pounding. I then select the according board from the boards list (the ATINY2313 1MHz from the instructable for the ATTINY and either the Arduino UNO or the Arduino Duelimanove for the ATMEGA328P) and after that the programmer árduino as ISP'. When uploading the Blink sketch I get errors like:</p>

<p>avrdude: Yikes! Invalid device signature
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I have tried things like capacitors/resistors between the reset and the ground or between the reset and the +5V, but nothing different. I have searched for help on the internet and alot of people have problems with it, but no clear or working answers. I have been looking at the MegaISP guide form Arduino, but this is not very clear to me.</p>

<p>I have no idea where to start anymore. Does anybody have an idea what I can try or where to start searching for answers?</p>

<p>I appriciate all the help I can get!</p>
 13911: <p>This worked for me dude :)</p>

<p>See this:</p>

<p><a href="http://www.instructables.com/id/Bootloading-ATmega328-with-Arduino-Mega2560/?ALLSTEPS" rel="nofollow">http://www.instructables.com/id/Bootloading-ATmega328-with-Arduino-Mega2560/?ALLSTEPS</a></p>
