【发布时间】:2014-02-05 16:02:36
【问题描述】:
我是 Arduino 编程新手。 我正在使用 Arduino Mega 2560 R3 并使用 Arduino IDE 1.5.5-r2。 我有一个非常简单的程序,当我尝试上传时,它在接近尾声时锁定。 有时在我看来以下错误:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
我使用了正确的 COM 端口,并且我选择了正确的板
当我尝试将 Rx 引脚与 Tx 引脚连接时,在控制台中写入时,我会在监视器中正确获取数据。
有什么想法吗?
谢谢。
【问题讨论】:
-
您是否尝试过在上传草图时断开 tx 和 rx 引脚,然后在完成后将它们插入?
-
是的,我连接 tx 和 rx 引脚只是为了测试串行端口。但是当我上传它们时,它们会断开连接。
-
如何在 Arduino Ide 中更改波特率?
-
我使用相同的波特率,但错误仍在继续...
-
您尝试过不同的电缆吗?我的 arduino fio 左右出现了 getsync 问题。一旦我更换了 FTDI 电缆,它就完美运行了
标签: arduino arduino-ide