无论我做什么,我都会收到这个错误avrdude:stk500_getsync()尝试第8次(共10次):不同步:resp



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

让我简单解释一下我的问题,我喜欢60个pro mini,其中30个以前加载了一些代码(而且都很好(,现在我因为HDD问题丢失了代码(不幸的是,我没有备份(,现在的情况是,我必须用相同的代码对剩余的pro mini进行编码,我试图使用AVR Dude检索代码,但我没有同步错误。后来我尝试从IDE和cmd行使用blink程序上传,但上传时仍然出现了同样的错误。所以,我试着用另一个Promini,让我惊讶的是,同样的错误和另一个错误。我试着所有30个专业迷你都给了我同样的错误(所有60个专业迷你来自同一家供应商(,我试图将眨眼程序上传到剩下的30个Promini,它就像一个魅力。我不知道为什么,那些永磁同步不同步。我试着用不同的方式上传到静脉。我观察到,每当我接通电源、按下重置按钮以及上传时,pm的重置led都会快速闪烁几秒钟。请在这里帮我

以下是我尝试过的东西:

  • 我尝试使用Arduino uno,Mega,USB-TTL,FTDI上传
  • 更换了USB电缆
  • 尝试使用其他计算机

预加载的永磁同步电机不起作用,但空的永磁异步电机起作用。在大约两周的时间里,我浏览了很多帖子,但都没有成功。

以下是错误消息

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)Arduinohardwaretoolsavr/bin/avrdude -CC:Program Files (x86)Arduinohardwaretoolsavr/etc/avrdude.conf -v -patmega328p -carduino -PCOM11 -b57600 -D -Uflash:w:C:UsersBJIAppDataLocalTemparduino_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)Arduinohardwaretoolsavr/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程序员上传时,它可以工作。

最新更新