我正在尝试构建自己的arduino,并且在上传代码时遇到了一些麻烦。
我非常确定我的构建是正确的,因为当按下重置按钮时,引脚13上的LED闪烁3次。
我尝试上传时遇到的错误是:
Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"
Sketch uses 450 bytes (1%) 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.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01
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.
我的操作系统是Windows 8,我尝试使用的芯片是Atmega328P-PU
我确实检查了端口和驱动程序,我在上传时尝试按下重置按钮。
答案 0 :(得分:2)
要解决此问题,请务必选择:
- Tool > boad > Arduino uno
- Tool > port > COM X (the one available)
通常你不必按下复位按钮,因为它会在上传之前由Arduino IDE自动完成(使用复位引脚)。但是,如果您仍然遇到同步问题,请尝试在编译过程之后立即点击重置按钮(以便上载过程一开始)。
如果您还在努力尝试降级到Arduino IDE 1.0.6 http://arduino.cc/en/Main/OldSoftwareReleases