user2871: How can I burn the Arduino Bootloader on an ATmega168PA-PU with an Arduino Uno?

user16458: The official Arduino documentation has detailed instructions on how to transform Arduino board into an ISP.
https://www.arduino.cc/en/Tutorial/ArduinoISP

user10794: I have a bootloader-programmer sketch here:
http://www.gammon.com.au/bootloader
Basically you connect up the boards like this:
Arduino Uno         Target ATmega168PA

D10 (SS)            Reset (pin 1)
D11 (MOSI)          MOSI  (pin 17)
D12 (MISO)          MISO  (pin 18)
D13 (SCK)           SCK   (pin 19)

Gnd                 Gnd   (pins 8 & 22)
+5V                 +5V   (pins 7 & 20)

Then download the sketch from GitHub - the one you want is in the Atmega_Board_Programmer folder. Run that and follow the instructions in the Serial Monitor.
For more information see the link above.

2871: <p>How can I burn the Arduino Bootloader on an ATmega168PA-PU with an Arduino Uno?</p>
 16458: <p>The official Arduino documentation has detailed instructions on how to transform Arduino board into an ISP.</p>

<p><a href="https://www.arduino.cc/en/Tutorial/ArduinoISP" rel="nofollow">https://www.arduino.cc/en/Tutorial/ArduinoISP</a></p>
 10794: <p>I have a bootloader-programmer sketch here:</p>

<p><a href="http://www.gammon.com.au/bootloader" rel="nofollow">http://www.gammon.com.au/bootloader</a></p>

<p>Basically you connect up the boards like this:</p>

<pre><code>Arduino Uno         Target ATmega168PA

D10 (SS)            Reset (pin 1)
D11 (MOSI)          MOSI  (pin 17)
D12 (MISO)          MISO  (pin 18)
D13 (SCK)           SCK   (pin 19)

Gnd                 Gnd   (pins 8 &amp; 22)
+5V                 +5V   (pins 7 &amp; 20)
</code></pre>

<p>Then download the sketch from <a href="https://github.com/nickgammon/arduino_sketches" rel="nofollow">GitHub</a> - the one you want is in the <strong>Atmega_Board_Programmer</strong> folder. Run that and follow the instructions in the Serial Monitor.</p>

<p>For more information see the link above.</p>
