【问题标题】:Why can't I upload the sketch to my Board?为什么我不能将草图上传到我的董事会?
【发布时间】:2015-09-05 11:39:44
【问题描述】:

我正在使用 Roboduino 板,每当我上传闪烁草图时,我都会遇到以下错误。我已经使用了好几天了。但是从现在开始问题就出现了。

-- 我选择了正确的板子 - Arduino Duemilanove 或 ATmega 328(我在很长一段时间内工作)

--我使用的是正确的串口 COM4(我已经拔下电缆并重新连接以确认端口仅为 COM4。)

--我已经移除了与电路板的所有连接(引脚 0 和引脚 1 现在空闲)

可能是什么问题?如何解决?

我遇到的错误是

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8d
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x8d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8d

【问题讨论】:

  • 1.尝试手动重置板,然后突然单击 arduino ide 上的上传
    2. 你有另一个板吗?尝试将 mega328p 从另一个替换到此板上。我认为这个 mega328p 上的引导加载程序坏了或芯片不见了。因为当您将板子连接到您的电脑时,您可以看到 COM 端口。

标签: error-handling arduino uploading


【解决方案1】:

这是一个糟糕的 Arduino 克隆,我认为板子没有得到适当的重置或连接不好。尝试选择 Arduino UNO,因为板载 ATmega328p 可能正在使用 optiboot 引导加载程序。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-02-06
    • 1970-01-01
    • 1970-01-01
    • 2015-03-04
    • 1970-01-01
    • 1970-01-01
    • 2015-11-28
    • 2016-12-13
    相关资源
    最近更新 更多