tingpan

生命不息,折腾不止!
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)成功烧录方法

Posted on 2015-07-18 10:30  tingpan  阅读(6379)  评论(0编辑  收藏  举报

问题:

Arduino:1.6.3 (Windows 7), 板:"Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

Sketch uses 846 bytes (2%) of program storage space. Maximum is 30,720 bytes.

全局变量使用了9字节,(0%)的动态内存,余留2,039字节局部变量。最大为2,048字节。

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xec

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xec

上传出错。查看页面 http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。

报告将会包含更多的信息

"在编译时,输出详细信息"

 

解决方法:

用usb转ttl接好线,

键在于按RESET键的时间,差不多刚刚点下烧写的按钮之后,就可以按RESET键了.尝试几次应该就可以发现规律了。

也可以通过出现“上传…”字样,马上按下复位键。

image

参考:

http://www.geek-workshop.com/thread-8436-1-1.html