Arduino - 代码未上传到董事会

时间:2016-07-15 07:26:31

标签: arduino

我最近从ebay购买了一个新的Arduino uno板,但我无法将代码上传到主板。当我尝试上传时,几分钟后收到以下错误消息:

Sketch uses 1,066 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.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xdc
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xdc
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xdc
avrdude: ser_recv(): read error: The I/O operation has been aborted because of either a thread exit or an application request.
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

我想问一下此错误消息的含义以及是否有办法解决问题?

我已经尝试搜索问题并尝试了我在Arduino网站上找到的各种解决方案,但似乎都没有起作用。我检查过" Port"和"董事会" IDE上的设置似乎是正确的。因为它是一个新的董事会,我希望它不会被打破。如果有人认出此错误消息,任何帮助将不胜感激。谢谢

1 个答案:

答案 0 :(得分:0)

某些Linux版本上的atmega编译器存在已知错误,但可以在上传草图之前不久重置您的主板来解决这个问题:

  • 单击主板上的按钮
  • 重置arduino
  • 数到3
  • 点击IDE上传