Society of Robots - Robot Forum

General Misc => Misc => Topic started by: waymental on August 25, 2008, 04:04:16 PM

Title: device signature error
Post by: waymental on August 25, 2008, 04:04:16 PM
I hit a wall when I was trying to program the chip. I get the following error. Anyone know off hand what I did wrong?

---- Monday, August 25, 15:03:18, 2008 ----
Setting mode and device parameters.. OK!
Entering programming mode.. OK!
Erasing device.. OK!
Leaving programming mode.. OK!

---- Monday, August 25, 15:03:28, 2008 ----
Setting mode and device parameters.. OK!
Entering programming mode.. OK!
Reading signature .. 0x00, 0x00, 0x00 .. OK!
Signature does not match selected device.. FAILED!
Leaving programming mode.. OK!
Title: Re: device signature error
Post by: Admin on August 25, 2008, 05:34:27 PM
It means you need to go to 'Device and Signature Bytes' in the AVR connection window and select the correct AVR.

Click 'Read Signature' just to make sure.
Title: Re: device signature error
Post by: TrickyNekro on August 26, 2008, 09:14:28 AM
You much have been using the STK500 or higher....

Look, many sources can cause this problem...

Where is the chip on... is it on the programmer...
If yes, try to lower the voltage... what is the chip...
I was using the ATMEGA128L and found out that it was not going to be programmed unless I lowered the voltage under 3V8 ~ 4V...
Although operating voltage is 2V7 - 5V5...

Also check the oscillator fuse bits.... what type of oscillator you use matters...


Good thing with STK500 & higher programmers is that you won't have problem with fuse bits... and locking the device....
Also check your wiring if the chip is not on the programmer...

Regards,
Lefteris, Greece
Title: Re: device signature error
Post by: waymental on September 02, 2008, 05:18:32 PM
well it appears that it took my program after lowering my ISP Freq from 1.0 MHz to 125.0 kHz

and its a ATMEGA8-16PU