I am trying to burn bootloader on an
Atmega 328P-PUon breadboard with minimal circuit using Arduino UNO, following up this Arduino Tutorial : https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard (See Minimal configuration).
Arduino board also has Atmega328 on it.
I followed up tutorial exactly as it says, triple checked connections. But upon clicking
Burn Bootloader after selecting "ATmega328 on a breadboard (8 MHz internal clock)" from boards and select "Arduino as ISP" in programmers it throws error :
Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.
Now, Obviously it means it doesn't thinks I have 328 on breadboard. BUT I HAVE!
The thing is the hardware file https://www.arduino.cc/en/uploads/Tutorial/breadboard-1-6-x.zip it says is for
Arduino IDE 1.6, I have version
1.8, and in the bottom it says the procedure works for
Arduino 1.0.x software. And the image in the circuit is of Atmega168 but on searching I found https://www.arduino.cc/en/Hacking/PinMapping168, from which I infer 328 and 168 have same pin mapping ?.
What am I doing wrong? what do I need to change?
After enabling verbose it reports: "Device signature = 0x00ff00"