Page 1 of 1

double check chip or -F to override tihs check

Posted: Thu Apr 01, 2010 12:58 am
by altafr
hi,
with the radio wifi and lcd
when i go with usbtiny and avr
led green ok lcd backlight ok
i have a atmega 328 from spark

avrdude :AVR device initialized and ready to accept instructions.

reading :device signature =0x1e9406 avrdude. Expected signature for ATmega328is 1E950F: Double check chip or use -F to override this check.

What can i do ?
Thanks
FA

Re: double check chip or -F to override tihs check

Posted: Thu Apr 01, 2010 3:31 am
by michael2010
FA,
the make file has the chip type hard coded. It is expecting a ATmega168 but you are using a 328. You need to adjust the make file. Look for a line like “avrdude ... –p Atmega168 …” and change the “ATmega168” to the correct value for ATmega368 (you have to look up what this will be). Regards, Michael

Re: double check chip or -F to override tihs check

Posted: Thu Apr 01, 2010 4:10 am
by altafr
thanks ,all is ok now

Re: double check chip or -F to override tihs check

Posted: Thu Apr 01, 2010 9:52 am
by mightyohm
What is strange is that the error message you posted shows that avrdude read a signature of 0x1e9406, which would seem to indicate that an ATmega168A was found on the target board.

Also, I'm not sure how avrdude knew that the "Expected signature for ATmega328 is 1E950F" without already being told that it was supposed to program a 328P. Something doesn't make sense.

Regardless, I'm glad you have it fixed.