2016-04-25 66 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之間的不好連接。 –

相關問題