2019-1-27 20:15:33 [显示全部楼层]
12258浏览
查看: 12258|回复: 3

[求助] 求助,米思齐写arduino总是上传失败。

[复制链接]
学校有创客社,放假前我跟老师借了一块Arduino板子练练手,顺便把学校里的米思齐烤了下来
这几天一直都写不进去,在学校都还写的成功。
板子的驱动:SERIAL CH340(跟学校里的一样,在家是用驱动精灵驱动的)
米思齐错误代码(只截了最后几段):
项目使用了 928 字节,占用了 (2%) 程序存储空间。最大为 32256 字节。
全局变量使用了9字节,(0%)的动态内存,余留2039字节局部变量。最大为2048字节。
E:\skr\Mixly0.997_WIN\.\arduino-1.8.5\hardware\tools\avr/bin/avrdude -CE:\skr\Mixly0.997_WIN\.\arduino-1.8.5\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:E:\skr\Mixly0.997_WIN\mixlyBuild/testArduino.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "E:\skr\Mixly0.997_WIN\.\arduino-1.8.5\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x05
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x05

avrdude done.  Thank you.

上传失败!


有没有大神帮帮忙,让我走出创客的第一步!

感激不尽

gada888  版主

发表于 2019-1-27 20:50:23

一个可能是你选错板了。比如你是arduino uno可是在board manager里是arduino leonardo.另一个你没选串口端口。还一个可能你占用了D0和D1线口。
回复

使用道具 举报

gada888  版主

发表于 2019-1-27 20:50:28

一个可能是你选错板了。比如你是arduino uno可是在board manager里是arduino leonardo.另一个你没选串口端口。还一个可能你占用了D0和D1线口。
回复

使用道具 举报

天才zxp  学徒
 楼主|
来自手机

发表于 2019-6-1 16:54:13

gada888 发表于 2019-1-27 20:50
一个可能是你选错板了。比如你是arduino uno可是在board manager里是arduino leonardo.另一个你没选串口端 ...

好像是的,谢谢,已经解决了!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
关于楼主
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail