Frequently Asked Questions
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
July 13, 2010
Tutorial - Beginning Embedded Electronics - 3
about 5 years ago
to whom have fallen in the same mistake like myself, copying the commands without understanding them, i have an ATMega8, and i used the command “avrdude -p m8 -P lpt1 -c pony-stk200 -U lfuse:w:0xE2:m”, as u can see, i have changed the command a bit because it didn’t work with my chip and programmer, but i didn’t change the value according to my chip, because the value 0xE2 does to the ATmega168, something different than what it does to the ATmega8, so what you should do before you write to your chip and render it unusable do visit the link provided “http://palmavr.sourceforge.net/cgi-bin/fc.cgi” and choose your chip, and the value you will be setting it to, and the avdude command will appear at the bottom of the page, to solve this problem, is to try to know what the command did to your chip, and in this case it has changed it to use external crystal,so u must provide it with the appropriate crystal to work
I also have the ATMega8 and successfully gone through the steps, everything is working great until the “avrdude -p m8 -P lpt1 -c pony-stk200 -U lfuse:w:0xE2:m” command, then suddenly, the led is full on, or maybe it is blinking too fast 16mhz, and the AVRdude is disgusted of my atmega8 and says, “Yikes! Invalid device signature.
Expected signature for ATMEGA8 is 1E 93 07”, and the led goes off; power off, then back on, the led is on, and as soon as i try to reprogram, the led goes off.
Forgot your password?
No account? Register one!