Arduino IDE 超时错误 Ubuntu 16.04

Arduino IDE 超时错误 Ubuntu 16.04

我已经在 Ubuntu 16.04 上成功安装了 Arduino IDE 1.8.5。现在,我无法从 PC 上传程序。我有一台 Mega 2560,在 Ubuntu 16.04 上使用 Arduino IDE 1.8.5。我阅读并尝试了 Ask Ubuntu 上其他问题的建议,但所有这些建议似乎都与安装程序有关。我尝试了多次,我确信我已经完全按照安装说明操作,但仍然有其他问题。我的具体问题和疑问是关于编写程序后的上传过程。

我在 /home 目录中安装了 Arduino IDE

我可以在 /dev/ttyACM0 中看到工具 > 端口,被选中,并且工具 > 论坛 > Arduino/Genuino Mega 或 Mega 2560显示为棋盘。

我收到的错误是:

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
An error occurred while uploading the sketch

我已经执行了sudo chmod a+rw /dev/ttyACM0、、sudo usermod -a -G dialout icymike和,sudo adduser icymike tty虽然解决了另一个问题,但对我的情况没有帮助。

我很确定是 Ubuntu,因为我在 Mac 上安装并使用了 Arduino IDE 1.8.5,没有任何问题。除了“灰色端口菜单”和更改 USB 权限外,我在网上找不到太多信息。我想我错过了一些关键点。

有人碰巧有 Arduino IDE 1.8.5 与 Ubuntu 16.04 的特定组合吗?你是如何让它工作的?我应该弄乱程序员选项?

相关内容