Arduino教程及实例--详解串口通信失败(程序上传失败)原因及解决办法
2019-06-28 13:51阅读:
近期有朋友使用Arduino IDE时反馈在做声音传感器设计的时候,上传程序一直不能成功,一直提示上传错误。在Arduino教程中有没有相关解决方案呢?我们来看下
主要错误码如下:
avrdude: st500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 10 of 10: not in sync: resp=0x00
上传项目出错
以上错误出现的原因主要有以下几点需要引起注意:
1.arduino在IDE下载过程中没有复位;
2.串口脚(0、1)被占用;
3.USB转串口通信不稳定;
4.bootload
主要错误码如下:
avrdude: st500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: st500_getsync() attempt 10 of 10: not in sync: resp=0x00
上传项目出错
以上错误出现的原因主要有以下几点需要引起注意:
1.arduino在IDE下载过程中没有复位;
2.串口脚(0、1)被占用;
3.USB转串口通信不稳定;
4.bootload
