Yikes! Invalid device signature

Hello,
I try to burn the bootloader on an ATmega328P-PU since 12 days.
Every time I get the same Message: Yikes! Invalid device signature

What I've tryed:

edit the boards.txt

atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600

atmega328bb.bootloader.tool=avrdude
atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino
atmega328bb.build.variant=arduino:standard

I added the green part, otherwise it can't find the bootloader.

I changed the avrude.conf

signature = 0x1e 0x95 0x14;
and
signature = 0x1e 0x95 0x0f;

(I've tryed both of them)

After every change, I restart my Arduino IDE ( 1.5.8 )

I'm very frustrated, because this ATmega should be part of a x-mas present! :frowning:

Thanks
allo

ps. I use Arduino Mega

Have you tried Nick Gammon's bootload installer sketch?

or

First of all, I have to say I have a great deal of respect for Nick. But this picture..

I can't help but feel that the zif socket is being tortured. Strapped down, blind folded, yet, somehow it still looks like it's screaming. I dunno, perhaps it's just pareidolia on my part

What signature does it report that you are getting (you may need to enable "verbose" to see this.)

CrossRoads:
Have you tried Nick Gammon's bootload installer sketch?

Gammon Forum : Electronics : Microprocessors : How to make an Arduino-compatible minimal board
or
Gammon Forum : Electronics : Microprocessors : Atmega bootloader programmer

Hi,
Thanks, I have tryed this, but I can't burn the bootloader if I press L

I had to change the "Atmega_Board_Detector.ino", because of the reset and sck pin. (Arduino Mega)

Any idea?

00 95 0f is really weird to see as a signature. 2/3 of it looks reasonable...

Hi,
now I get it! I don't know why, but it works. :wink:
Thanks for your help!

But now I have to load my sketch to the atmega... could be difficult too...
Which board should I choose in tools/boards ???

thx
allo

Doesn't there appear a "ATmega328 on a breadboard (8 MHz internal clock)" board? Just as the one you created in boards.txt.