double check chip or -F to override tihs check

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
altafr
Posts: 2
Joined: Thu Apr 01, 2010 12:55 am

double check chip or -F to override tihs check

Post 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
michael2010
Posts: 9
Joined: Wed Mar 24, 2010 5:28 pm

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

Post 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
altafr
Posts: 2
Joined: Thu Apr 01, 2010 12:55 am

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

Post by altafr »

thanks ,all is ok now
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

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

Post 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.
Post Reply