ATmega328P-PU problem with bootleader !

hello guys,
i am burning the bootloader on 3 atmega328P-PU chips,
i set up the bootloader circuit and i burned the bootloader on 2 of the chips and they work fine however the third chip gave me this error : avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this !

so i made a search on google and found out that atmega328P has this problem, but my chip is the atmega328P-PU which is used already on arduino so how can i solve this problem ?

Simply: Double check connections first. Bad wire should cause this problem.
ATmega328P exist in several variants - packages. -PU means that it is in 28 pin PDIP package. Chip is always the same.

Budvar10:
Simply: Double check connections first. Bad wire should cause this problem.
ATmega328P exist in several variants - packages. -PU means that it is in 28 pin PDIP package. Chip is always the same.

i double checked all good, i made same circuit and started by plugging first chip and burn the bootloader, it went all great, then removed it and plugged the second, it went great as well, then removed it and plugged the third and it gave me the error :o

Try to re-burn some of the working to exclude a problem with setup or better just read working atmega via cmd line with avrdude to prevent destroying already burned bootloader.

Budvar10:
Try to re-burn some of the working to exclude a problem with setup or better just read working atmega via cmd line with avrdude to prevent destroying already burned bootloader.

can you explain more please because i didn’t really understand what do you mean :-[

Connect working MCU into your circuit for bootloader burning. Then try to read data from it with this command (it is for Windows).

avrdude -pm328p -Pport_name -cavrisp -b19200 -C*path_to_conf_file*avrdude.conf -vv

NOTE: Replace italic with appropriate name.

This command provides the chip signature in output. Correct output mans that your circuit setup works and is OK.

Budvar10:
Connect working MCU into your circuit for bootloader burning. Then try to read data from it with this command (it is for Windows).

avrdude -pm328p -Pport_name -cavrisp -b19200 -C*path_to_conf_file*avrdude.conf -vv

NOTE: Replace italic with appropriate name.

This command provides the chip signature in output. Correct output mans that your circuit setup works and is OK.

but why this only chip has a different signature from others ?! it's the same as the others ATmega328P-PU not the ATmega328 or the 328P

ATmega328 differs from ATmega328P. P means picopower. They have different signature. ATmega328P-PU "-PU" means package type - 28PDIP. Also should be ATmega328P-AU which is TQFP package etc. If you mean switch in command -pm328p it is for all ATmega328P and doesn't matter with package.
Or did you mean that your 3th chip is different from the other two?

Budvar10:
ATmega328 differs from ATmega328P. P means picopower. They have different signature. ATmega328P-PU “-PU” means package type - 28PDIP. Also should be ATmega328P-AU which is TQFP package etc. If you mean switch in command -pm328p it is for all ATmega328P and doesn’t matter with package.
Or did you mean that your 3th chip is different from the other two?

all my chips are the same, no differences all are ATmega328P-PU

(deleted)

Hello,

I'm' french
I have the same problem. but on all my 328p-pu.
I do not succeed in sending a programm in my 328p-pu (on an external breadboard)
I don't know how to do ?
Could you tell me what procedure you use and your files (Board.txt, version of the soft and your file avrdude).
Thank very much !!!

If you have an Uno to hand you could try this.

spycatcher2k:
Have you tried the given solution? If not, Why not?

how to do it if you mean the solution given by Budvar10 ? i didn't know what should i do

Isn't my advice helpful? What is the problem? Ask more.

PS: I hope that it's not my knowledge of English. I'm not native English speaker so I apologize if yes. It's a kind of exercise for me to be here and I'm thankful for your patience with me. :blush:

just goto

D:\arduino-1.0.1\arduino-1.0.1\hardware\tools\avr\etc\avrdude

Just search for

0x1e 0x95 0x0F

if you using IC atmega328p-pu: keep it same

if it is atmega328-Pu
change to
0x1e 0x95 0x14

save & upload code.Let me know if any error

He wrote that the all chips are ATmega328P-PU.

Just unzip the folder into below path. your path might be different

D:\arduino-1.0.1\arduino-1.0.1\hardware\tools\avr\etc

avrdude.zip (24.6 KB)