Burn bootloader to a Arduino pro mini?

Hi

Somehow ive erasede the bootloader on 2 of my Pro minis.

How can i burn a new on onto em using my Arduino mega?
im quite new to arduino so any help will do :slight_smile:

Arduino as ISP is mostly used with the Uno, but the Mega works almost the same.

http://playground.arduino.cc/Code/MegaISP

Do NOT use the Mega-ISP code from that second link, use the two links to see how it should be connected.
Load the 'ArduinoISP' sketch from the examples and upload that into the Mega.
After that, select the target (Pro Mini) and burn the bootloader.

When the Arduino IDE uses an programmer, it doesn't look for a normal board, but for a programmer. After that it looks for the target that is connected to the programmer.

im a bit lost here.

10: slave reset
11: MOSI
12: MISO
13: SCK

those pins arent on a pro mini

EDIT:
unless this is pin 11 and 12 on the mini?

Yes.

The Pro Mini uses the same ATmega328p as the Uno. So all the pins are the same.
The smd version of the ATmega328p has two extra analog inputs, so the A6 and A7 are often available on the Pro Mini and its clones. The rest is the same chip with the same pins.

The 'reset' is part of the programming. That is an output pin of the programmer and should be connected to the RST pin of the Pro Mini board.

makes a lot more sence, gonna try it later today,
so if i don´t write back, something went terrybel wrong ]:slight_smile: