2016-04-25 381 views
0

我一直在使用Eclipse上的ATMega32工作,并且一切正常,突然,当我尝试构建项目以将项目下载到MCU时,我得到以下错误:在Eclipse上工作时出现AVRDude错误

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 

有人能帮助我,告诉我怎么解决这个问题?

回答

1

正如我所见AVRdude说它不能与微控制器交互。 uC和usbasp之间的联系可能不好,或者uC没有电。也有共同的问题 - 融合腐败。 仔细检查所有步骤,你应该找到这种行为的原因。

+0

谢谢Sidoi的回答,这是uC和USBasp之间的不好连接。 –

相关问题