记录一次 CH340 arduino Nano 写入程序 报错问题及解决方法
问题描述
CH340 改版的非原装arduino Nano在写入程序时可能会报错,错误如下:
Arduino:1.8.19 (Windows 10), 开发板:"Arduino Nano, ATmega328P"
项目使用了 6944 字节,占用了 (22%) 程序存储空间。最大为 30720 字节。
全局变量使用了502字节,(24%)的动态内存,余留1546字节局部变量。最大为2048字节。
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf2
Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
原因:Arduino AVR Boards 1.6.21 增加了对这些新电路板的支持,新的Nano板定义与旧的Nano和大多数第三方Nano不兼容。
解决办法
在Arduino应用工具栏选择
Tools > Processor > ATmega328P (Old Bootloader)
工具 > 处理器 > ATmega328P (Old Bootloader)
再次写入程序就会提示“上传成功”。

...全文
相关推荐
CH340G-CH340通用驱动 支持win10/win7 64位驱动
CH340G-CH340 64位驱动 支持win10/win7 安装前,先卸载老的驱动! 安装的时候,不要插340的串口!
Arduino驱动下载与安装资料.rar_Arduino驱动下载_arduino_arduino nano 驱动_arduino
Arduino驱动下载与安装资料arduino学习
将Arduino用作USB转TTL转换器的方法-项目开发
将Arduino用作USB到TTL转换器的三种方法。 有帮助的一个!
Windows-CH340-Driver.zip
Arduino IDE 的驱动程序,适用于Windows系统,亲测好用
CH341SER补丁 ArduinoUNO或ArduinoNano端口读取补丁
ArduinoUNO或ArduinoNano(CH340/1版本的)在Windows7等系统下,读取不到端口,需要安装 CH341SER读取补丁



