Arduino的输入输出问题
2024-01-232853
AI 快速预览详细
本文讨论了如何解决 Arduino 上传失败的问题,特别是错误码为 avrdude: stk500_getsync() not in sync: resp=0x54 的情况。通过检查电路连接、更换USB线和重新选择正确的端口,可以有效解决这个问题。文章提供了详细的排查步骤和解决方案,帮助用户快速解决问题,避免自行排查的繁琐过程。
|
就是用Arduino写了个很简单的程序,然后就报错,错误码和截图: ![]() 项目使用 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 端口截图: ![]() |






