The fiasco so far.
My Uno stopped taking programs. I did some diagnostics, and determined that the 16u2 is fine, and the power supply is fine. I figured it’s the 328P. I bought a replacement 328P (4, in fact) and need to burn a bootloader.
I do not own another Arduino Uno, whereas ALL the official documentation for burning a bootloader is from one Uno to another. There is no clear documentation from Arduino on how to use a Mega as an ISP.
I understand that the Uno uses pins 10-13 for this purpose as these pins are also connected to the ICSP header (because they use the same pins on the 328P) but this is not the case for the Mega. Instead, you are to use either pins 50-53 or the ICSP header.
Neither of these worked.
I’m using Arduino IDE version 1.8.1, using the ArduinoISP sketch that came with it. There is no documentation from Arduino.cc that says anything about using a Mega (in fact, I feel embarrassed on their behalf) and what independent tutorials and whatnot I’ve found don’t match the Arduino sketch I have, so I don’t know what if anything in the sketch I need to change, and where.
I get an avrdude sync error, no matter what combination of pins I connect.
So. I need to get a bootloader onto a 328P. I have a Mega and a Micro at my disposal. Can it be done, or should I just throw them all away?