Failed to burn a bootloader

Hey everyone,

I'm just trying to upload bootloader to my new Arduino Nano clone via Arduino as ISP.

I have my wires connected like this:

old arduino pin 13 to pin 13 of new arduino
old arduino pin 12 to pin 12 of new arduino
old arduino pin 11 to pin 11 of new arduino
old arduino pin 10 to pin RST of new arduino
GND to GND
VIN to VIN

The new arduino has Atmel MEGA 168PA AU microcontroler, and when i try to upload the bootloader with ATmega 168 setting, I get this error:

Arduino: 1.6.12 (Linux), Board: "Arduino Nano, ATmega168"

avrdude: Expected signature for ATmega168 is 1E 94 06
Double check chip, or use -F to override this check.
Error while burning a bootloader.

I found another question like this here:

http://forum.arduino.cc/index.php?topic=68889.0

So I think, I just need to know the signature and other details of 168PA to add it to avrdude.conf file.

Can anybody help me?

Thank you very much!

(deleted)

I'm so sorry, I forgot to add it here.
I already edited my post.

Any ideas?

Enable verbose uploads in preferences (and I suggest leaving it like that - it is incredibly useful), see what it's reading out for the signature.

You didn't mention putting the 10uf cap between reset and ground on the programmer to disable the autoreset on the programmer. Add that.

Output:

/home/sijisu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/sijisu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega168 -cstk500v1 -P/dev/ttyACM0 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x00:m -Uhfuse:w:0xdd:m -Ulfuse:w:0xff:m

avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/sijisu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
User configuration file is "/home/sijisu/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega168
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xff0000
avrdude: Expected signature for ATmega168 is 1E 94 0F
Double check chip, or use -F to override this check.

avrdude done. Thank you.

Wiring problem - it's reading a totally bogus sig.

Hey, I double checked the wires and still getting obviously random sigs like: 0xff00ff, 0x0000ff, 0xff0000...

Output still like this:

/home/sijisu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/sijisu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega168 -cstk500v1 -P/dev/ttyACM0 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x00:m -Uhfuse:w:0xdd:m -Ulfuse:w:0xff:m

avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/sijisu/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
User configuration file is "/home/sijisu/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega168
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xff00ff
avrdude: Expected signature for ATmega168 is 1E 94 0F
Double check chip, or use -F to override this check.

avrdude done. Thank you.

Is the chip damaged?
Any other suggestions?
Thanks for your answers!

Sltill, looks like HW problem. I should read zeros if the chip doesn't respond. Occasional FF could be caused by floating wire. Or chip??? I am just guessing. Try another chip.
You can use the command from top of output, directly from CMD. Just remove a tail behind -b19200 and add -vv. It is just reading, no write or chip erase - enough for connectivity test. I think, it could be an item in IDE menu in respect of frequency of similar problems.