我一直在使用Eclipse上的ATMega32项目,一切都运行正常,突然,当我尝试构建项目将项目下载到MCU时,我收到以下错误:
AVRDude Error
Could not understand the output from AVRDude.
- Either avrdude returned an error message that is not covered by AVR Eclipse Plugin
- or you have newer AVRDude version with a changed output format.
In either case check the AVRDude return message below and contact the AVR Eclipse Plugin maintainers to have this fixed.
https://sourceforge.net/projects/avr-eclipse
Reason:
Could not find a valid Signature in the avrdude output.
当我检查AVRDude输出时,我得到了所有有效的部分,最后我得到了这个:
Launching: C:\WinAVR-20100110\bin\avrdude -cusbasp -pm16
Output:
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
avrdude finished
Launching: C:\WinAVR-20100110\bin\avrdude -cusbasp -px128a3
Output:
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
avrdude finished
有人可以帮助我并告诉我如何解决这个问题吗?
答案 0 :(得分:1)
正如我所看到的,AVRdude说它不能与微控制器交互。 它可能是uC和usbasp之间的不良联系,或者对uC没有任何威力。还有一个共同的问题 - 融合腐败。 仔细检查所有步骤,你应该找到这种行为的原因。