【问题标题】:No matter what I do, I get this error avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbe无论我做什么,我都会收到此错误 avrdude: stk500_getsync() 尝试 8 of 10: not in sync: resp=0xbe
【发布时间】:2021-04-15 05:47:03
【问题描述】:

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

让我简单解释一下我的问题,我喜欢 60 个 pro-mini,其中 30 个之前加载了一些代码(并且所有工作都正常),现在由于我的 HDD 问题我丢失了代码(不幸的是我没有备份)现在事情是我必须用相同的代码对剩余的 pro-mini 进行编码,我尝试使用 AVR Dude 检索代码,但我得到的不是同步错误。后来我尝试使用 IDE 和 cmd 行中的闪烁程序进行上传,但我在上传时遇到了同样的错误。所以,我尝试了另一个 Promini,令我惊讶的是同样的错误,另一个又一个我尝试了所有 30 个 pro-mini 都给了我同样的错误(所有 60 个 pro-mini 都来自同一个供应商),我试图上传眨眼对剩下的 30 个 prominis 进行编程,它就像一个魅力。我不知道为什么,那些 pms 没有同步。我尝试以不同的方式上传所有内容。 我观察到的是,每当我连接电源、按下复位按钮以及上传时,pm 的复位 LED 都会快速闪烁几秒钟。 请帮帮我

以下是我尝试过的事情:

  • 我尝试使用 Arduino uno、Mega、USB - TTL、FTDI 上传...
  • 更换了 USB 数据线。
  • 尝试使用其他计算机。

预加载的 pms 无法使用,但可以使用空的 pms。我在大约两周内浏览了很多帖子,但没有任何效果。

下面是错误信息

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 arduino-uno arduino-ide avrdude


    【解决方案1】:

    通过使用 Arduino 作为 ISP 编程器解决。如果我尝试直接上传,则会引发错误,但当我使用 ISP 程序员上传时,它可以工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-06
      • 1970-01-01
      • 2022-12-07
      • 2016-07-14
      • 2021-03-08
      • 1970-01-01
      • 1970-01-01
      • 2012-08-11
      相关资源
      最近更新 更多