Arduino的输入输出问题

2024-01-232853
AI 快速预览详细 收起
本文讨论了如何解决 Arduino 上传失败的问题,特别是错误码为 avrdude: stk500_getsync() not in sync: resp=0x54 的情况。通过检查电路连接、更换USB线和重新选择正确的端口,可以有效解决这个问题。文章提供了详细的排查步骤和解决方案,帮助用户快速解决问题,避免自行排查的繁琐过程。


就是用Arduino写了个很简单的程序,然后就报错,错误码和截图:
Arduino的输入输出问题图1


项目使用 924 字节(2%)的程序存储空间。最大值为 32256 字节。
个全局变量使用 9 个字节(0%)的动态内存,剩下 2039 个字节用于局部变量。最大值为 2048 字节。
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x54
上传失败: 上传错误:exit status 1
端口截图:
Arduino的输入输出问题图2



创作许可协议

本项目采用 None(不开放任何权利,保留所有权利) 进行许可。

评论(1)
DFEDU
DFEDU
硬件接线拍照,还有设备管理器的端口截图。
DFEDU
DFEDU回复
设备管理器的端口截图。
诩
作者
回复DFEDU
端口截图放进去了
共3条回复,已加载2条,点击查看更多共3条回复,已加载全部
- 没有更多了 -