Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: w_bwr on August 04, 2010, 05:26:23 AM
-
I have home made ISP Programmer for AVR. It was working fine a few days back.
but now it is giving an error message which is:
write error at the address 00000000 byte written: 0F byte read: 9F
and some times
write error at the address 00000002 byte written: 14 byte read: 97
It reades the device signature correctly.
Device Signature: ATmega162, Flash 16 kb, EEPROM: 512 bytes
plz help???
-
Hi,
Did you try this on more than one controller? (Might be your controller that went bust).
-
is your battery dead? could be a power issue if your controller isn't powered by your programmer.
-
Hi,
Maybe there is something wrong with your target board,check it
-
The programmer is on a breadboard right? looks like it could just be a loose wire, with bad contacts, check the power lines and the programming wires.
-
Hi,
The programmer is on a breadboard right? looks like it could just be a loose wire, with bad contacts, check the power lines and the programming wires.
Maybe, but the signature reads OK.
There is a consistent lack of bit7 and an intermittent lack of bit4 @ adr2 - sounds to me like stuck bits.
It may be the I/O lines if the signature reads out in a very different way (I don't think it does though).
-
The target Board is not on breadboard. Its a PCB, and was working fine a few weeks ago.
i guess that the controller is busted. I 'm out of town so can't replace it now. it 'll take some time!
-
Hi,
Just to be sure... Remove the chip and reinsert it. Sometimes sockets develope a bad connection, especially if the two metals (socket and pin) is different, i.e. tin/gold or something similar.