arduino nano 报错:avrdude: stk500_recv(): programmer is not responding(已解决)
前言:
好久没用arduino了,我竟然卡在烧录blink上一整天时间!!!
首先是用ATtiny85没有找到合适的驱动,一直下载失败。
最后找到了店家的链接,可能是因为数据线的原因,一直读取不了端口信息。
只能找到之前用过好好的nano板子,为了便于调试,先从blink开始烧录,然后就发现,我怎么都烧不进去!
报错信息如下:
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xdb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xdb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xdb
百度谷歌直接搜报错,都没搜到合适的解决方案。
让我很是恼怒。
解决方案:
参考链接:
Arduino nano的bootloader文件烧录
里面有这样一段话,让我瞬间不迷瞪了…
使用arduino有时候会比较郁闷的是bootloader错误导致无法烧录新的程序到arduino。
错误提示为:
avrdude: stk500_getsync(): not in sync: resp=0X00
卧槽,原来是板子的引导坏了,虽然我不懂之前都是好好的,放了一年怎么就坏了,还是说我之前没事儿的时候乱烧了程序?
好在我手里有七块不同型号的arduino,还有一块nano全新的,没有拆封,换了之后,果然blink!
至于旧板子是否能修好,我先不管了~