我有一个新的 arduino mega + wifi,无法加载

编程


新的 Arduino Mega(克隆)在尝试加载草图时会产生此错误消息。

我已经检查了板类型、波特率(115200)确认了正确的端口并将草图加载到另一块板上,没有任何问题。

请任何人对这个问题有所了解。

Sketch uses 67841 bytes (26%) of program storage space. Maximum is 253952 bytes.
Global variables use 2101 bytes (25%) of dynamic memory, leaving 6091 bytes for local variables. Maximum is 8192 bytes.
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
Failed uploading: uploading error: exit status 1

我尝试过的:

我已经检查了板类型、波特率(115200)确认了正确的端口并将草图加载到另一块板上,没有任何问题。

解决方案1

那么,要么您正在使用的 IDE 不支持该板,要么在 IDE 中没有选择正确的板,该板不在您告诉 IDE 它所在的端口上,USB 电缆坏了,要么是板子电量不足,要么是板子坏了。

除此之外,没有什么可以继续的了。

解决方案2

Sketch 使用 67841 字节 (26%) 的程序存储空间。 最大值为 253952 字节。
全局变量使用 2101 字节 (25%) 的动态内存,为局部变量留下 6091 字节。 最大为 8192 字节。
avrdude:stk500v2_ReceiveMessage():超时
avrdude:stk500v2_ReceiveMessage():超时
avrdude:stk500v2_ReceiveMessage():超时
avrdude:stk500v2_ReceiveMessage():超时
avrdude:stk500v2_ReceiveMessage():超时
avrdude:stk500v2_ReceiveMessage():超时
avrdude: stk500v2_getsync(): 与程序员通信超时
上传失败:上传错误:退出状态1

コメント

タイトルとURLをコピーしました