Society of Robots - Robot Forum

Software => Software => Topic started by: ram aravind on June 16, 2012, 10:43:19 AM

Title: error in programming mc-invalid device signature
Post by: ram aravind on June 16, 2012, 10:43:19 AM
hello...i m using dapa for programming my microcontroller and it was working fine.. but now i get this error each time i program.. plzzzz help... also wat does invalid device signature mean..?

avrdude -p atmega8 -P lpt1 -c dapa -U flash:w:main.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

make.exe: *** [program] Error 1
Title: Re: error in programming mc-invalid device signature
Post by: adanvasco on June 21, 2012, 11:18:15 PM
For sure do NOT use the -F option!!!

A 0xffffff signature means that avrdude is unable to read the device signature cuz it is configured to use an external xtal. Have you changed the fuses or removed a crystal?
Title: Re: error in programming mc-invalid device signature
Post by: Gertlex on June 22, 2012, 11:42:28 AM
Also, have you previously succeeded with other .hex files?  If so, do these hex file still work?
Title: Re: error in programming mc-invalid device signature
Post by: ram aravind on June 22, 2012, 09:38:54 PM
mr.adanvasco wat is mean by external xtal.? how to change its configuration..? .sir,i dont think crystal or fuse problem will come into light while dealing with dapa:direct avr parrallelport access....
Title: Re: error in programming mc-invalid device signature
Post by: ram aravind on June 22, 2012, 09:45:23 PM
mr.gertlex .... Earlier i have programmed the uc and the code burnt successfully... Only now this prob rises...?
Title: Re: error in programming mc-invalid device signature
Post by: ram aravind on June 22, 2012, 09:51:33 PM
my battery isnt fully charged .ie it shows 7.2 volt though it is 8v..would this prob be due to this..?becoz if the power supply isnt consistent .. It wouldnt be able to program right..?