go away spammer

Author Topic: error in programming mc-invalid device signature  (Read 3293 times)

0 Members and 1 Guest are viewing this topic.

Offline ram aravindTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
error in programming mc-invalid device signature
« 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

Offline adanvasco

  • Full Member
  • ***
  • Posts: 107
  • Helpful? 6
  • Necessity is the mother of invention.
Re: error in programming mc-invalid device signature
« Reply #1 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?
Knowledge does not weigh.

Offline Gertlex

  • Supreme Robot
  • *****
  • Posts: 763
  • Helpful? 24
  • Nuclear Engineer ยท Roboticist
    • Index of Oddities
Re: error in programming mc-invalid device signature
« Reply #2 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?
I

Offline ram aravindTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Re: error in programming mc-invalid device signature
« Reply #3 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....

Offline ram aravindTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Re: error in programming mc-invalid device signature
« Reply #4 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...?

Offline ram aravindTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Re: error in programming mc-invalid device signature
« Reply #5 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..?

 


Get Your Ad Here

data_list