更新 我被告知(在这个问题的第一个答案中)我应该在我的Arduino上安装ATmega 16U2芯片的Windows驱动程序。不幸的是,我无法找到这些驱动程序(我正在寻找专门针对Windows 10驱动程序)。任何帮助都将非常感激。谢谢!
我最近从Inland Electronics购买了一台带有ATmega328的Arduino Uno R3板。我知道它有一个bootloader,因为它已经预先上传了Blink;每当我将其插入计算机时,引脚13 LED每隔一秒闪烁一次。由于我已经拥有它,我无法将任何草图上传到电路板。
我在运行Windows 10 Pro 64位的计算机上使用Arduino IDE 1.6.7。我已经研究过我的问题并且无法找到修复程序,尽管我尝试了可以找到的所有内容。我一直在尝试上传稍微修改一下Blink,以使LED更快地闪烁。除了USB电缆到计算机之外,没有任何东西连接到电路板。代码编译得很好。
我将首先分享收到的主要错误消息,然后提供一些其他信息。我的错误信息:
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\(my username)\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xcf
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
我尝试在此过程中的各个不同时间按下重置按钮,不同的时间长度,无论如何都没有效果。更多信息如下:
我已将COM端口更改为COM4,导致:avrdude: ser_open(): can't open device "\\.\COM4": The system cannot find the file specified.
我将其更改回COM3,结果为:avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.
然后我完全卸载了Arduino软件(断开电路板后)
我根据其他网站和问题提到的修复内容(这些信息都没有对我有用)。
答案 0 :(得分:3)
之前我听说过这个问题。通常情况下,修复它是为了获得一个新的USB A-to-B电缆。您可以在亚马逊上以3美元至5美元的价格购买一件。
答案 1 :(得分:1)
您是否为ATmega16U2安装了Windows驱动程序?这是管理USB连接的芯片。
答案 2 :(得分:0)
我已经为我的情况找到了最终的,正确的答案:董事会是一个哑巴。虽然ATmega328工作并有一个自举程序,但USB-B端口和微控制器之间的PCB连接短路或损坏。我购买了一块新的电路板,然后把它弄错了,现在一切都像魅力一样。
但是,在放弃Arduino之前,您应该尝试几种可能的诊断和修复方法,包括:
如果这些都不起作用,那么可能会出现故障。