Windows7或以上安装usbasp驱动程序通过zadig来安装
https://zadig.akeo.ie/
具体方法安装方法请自行搜索
-----------------------------------------------------
Arduino 通过 usbasp(http://www.fischl.de/usbasp/) 编程器烧录程序或者bootloaders时出现以下错误
解决方法:
在该网页下载最新版本的avrdude
http://download.savannah.gnu.org/releases/avrdude/
现在最新版本为6.3
在页面选择avrdude-6.3-mingw32.zip(注意文件全名,不要下载错)
解压后得到avrdude.conf与avrdude.exe
随后先确定Arduino选择的编译路径[文件]-[首选项]-勾上[上传]标签
随后点击[烧录引导程序]或者[使用编程器上传]
会出现以下一种错误提示
错误输出的最前方查看编译器的路径
最后把两个文件分别替换成之前下载最新版本的avrdude.conf与avrdude.exe
-----------------------------------------------------
烧录引导程序出错。 avrdude: Warning: cannot query manufacturer for device: No such file or directory avrdude: Warning: cannot query product for device: No such file or directory avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
-----------------------------------------------------
Using Programmer : usbasp 烧录引导程序出错。 avrdude: Warning: cannot query manufacturer for device: No such file or directory avrdude: Warning: cannot query product for device: No such file or directory avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
----------------------------------------------------------------------------------------------------------------------------------------------------------- avrdude: error: usbasp_transmit: No such file or directory avrdude: auto set sck period (because given equals null) avrdude: error: usbasp_transmit: No such file or directory avrdude: warning: cannot set sck period. please check for usbasp firmware update. avrdude: error: usbasp_transmit: No such file or directory 烧录引导程序出错。 avrdude: error: usbasp_transmit: No such file or directory avrdude: error: program enable: target doesn't answer. 0 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.
avrdude: error: usbasp_transmit: No such file or directory 来源:https://blog.csdn.net/C_Liang/article/details/108634805 免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作! |