avrdude: Device signature = 0x1e9307 avrdude: Expected signature for ATmega328P

avrdude: Device signature = 0x1e9307
avrdude: Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.

Trying to burn bootloader on to atmega325 chips and getting this error.

How do I get around it?

You need an appropriate entry in boards.txt but I don't know what should be in it for that chip. Have a look at the existing entries in boards.txt and you may be inspired.

...R

Robin2:
You need an appropriate entry in boards.txt but I don't know what should be in it for that chip. Have a look at the existing entries in boards.txt and you may be inspired.

...R

I tried that one but it did not seem to make any difference. Either I got the same error or, at once stage, I got another error 0x05 != 0x07 or something like that.

What about this optiboot thing. I found that but it is far from clear how you use it with arduino IDE.

The signatures are in avrdude.conf

What was the other error? If you got that far, you had fixed one issue. It's probably caused by improper lockbit settings. Please post the contents of the boards.txt entry. tpp.

Optiboot must be compiled for the chip you're using. Optiboot is a bootloader, used for uploading over serial (instead of via ISP like you're doing).

Do you have a core that supports the Atmega325? I don't think the stock core will work (or does it support the 325 for some weird reason? No official board has ever used it, so they usually don't support parts like that) - you need a core to supply the pin mapping and set up the timers for PWM/Tone.

In the future (ie, don't repost this there , though) and is no , post questions regarding bootloaders and arduino on non-standard microcontrollers in the Microcontrollers section, not programming section.

I took the atmega328P out of my working arduino uno and put in on my breadboard in plcae of the one I trying to burn the boot loader on to.

It worked fine - pressing the rest button causes the LED to blink.

So there is nothing wrong with the way I have wired up the atmega328 on my breadboard.

If I put the other atmega back and try to burn the boot loader according to this then I get the error.

I then tried to do the same with another atmega328 that I bought from a different seller on ebay on a previous occasion.

This time I got:

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x000000 (retrying)

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

avrdude: Device signature = 0x000000 (retrying)

Error while burning bootloader.
Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

I have previously burned a bootloader on to these particular atmega328's successfully previously, but it was before I installed IDE version 1.6.7

I think I was using 1.0.6 because version 1.6.5 was giving me to many inexplicable compile errors in that the compile just failed with little or no explanation as to why. This problem seems to have gone away with 1.6.7 so I am now using this version.

Is it possible that something has changed in version 1.6.7 that has broken ArduinoISP?

boards.txt (24.5 KB)

This signature tell that is trying write on ATMEGA8 and your CHIPT is not ATMEGA328, read the marks of CHIP.