Arduino 无论我做什么,我都会遇到以下错误avrdude:stk500_getsync()尝试10次中的第8次:不同步:resp=0xbe

Arduino 无论我做什么,我都会遇到以下错误avrdude:stk500_getsync()尝试10次中的第8次:不同步:resp=0xbe,arduino,arduino-uno,arduino-ide,avrdude,Arduino,Arduino Uno,Arduino Ide,Avrdude,我的问题是,无论我如何将blink程序上传到我的Arduino pro mini,我都会收到不同步错误(下面我附上了错误以供参考) 让我简单地解释一下我的问题,我喜欢60个pro mini,其中30个以前加载了一些代码(所有都工作正常),现在我因为我的HDD问题丢失了代码(不幸的是我没有备份),现在我必须用相同的代码编写剩余的pro mini,我试图用AVR Dude检索代码,但我得到的不是同步错误。后来我试图上传使用闪烁程序从IDE和cmd行太多,但我得到同样的错误,而上传。所以,我尝试了另一

我的问题是,无论我如何将blink程序上传到我的Arduino pro mini,我都会收到不同步错误(下面我附上了错误以供参考)

让我简单地解释一下我的问题,我喜欢60个pro mini,其中30个以前加载了一些代码(所有都工作正常),现在我因为我的HDD问题丢失了代码(不幸的是我没有备份),现在我必须用相同的代码编写剩余的pro mini,我试图用AVR Dude检索代码,但我得到的不是同步错误。后来我试图上传使用闪烁程序从IDE和cmd行太多,但我得到同样的错误,而上传。所以,我尝试了另一个Promini,让我惊讶的是,同样的错误和另外一个我尝试了所有30个pro-Mini都给了我同样的错误(所有60个pro-Mini都来自同一个供应商),我尝试了将blink程序上传到剩下的30个Promini,它工作得很好。我不知道为什么,那些PM没有同步。我试着用不同的方式上传到vein。 我观察到,每当我接通电源、按下复位按钮以及上传时,pm的复位led会快速闪烁几秒钟。 请帮帮我

以下是我尝试过的一些事情:

  • 我试图上传使用Arduino uno,Mega,USB-TTL,FTDI
  • 更换了USB电缆
  • 尝试使用不同的计算机
预加载的PM不起作用,但空PM起作用。我花了大约两周的时间浏览了很多帖子,但都没有收到任何效果

下面是错误消息

Arduino: 1.8.13 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"
Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM11 -b57600 -D -Uflash:w:C:\Users\BJI\AppData\Local\Temp\arduino_build_411622/sketch_apr15a.ino.hex:i 
avrdude:版本6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
     Copyright (c) 2007-2014 Joerg Wunsch
     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

     Using Port                    : COM11

     Using Programmer              : arduino

     Overriding Baud Rate          : 57600

    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xce
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf7
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6b
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa8
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xee
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4f
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa8
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbe
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xed
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x9e

avrdude done.  Thank you.
上载草图时出错

本报告将提供更多信息 “在编译期间显示详细输出”
在文件->首选项中启用选项。

使用Arduino作为ISP程序员解决。如果我试图直接上传它是抛出错误,但当我上传使用ISP程序员它的作品