【问题标题】:Arduino Micro pro not uploading any codeArduino Micro pro 没有上传任何代码
【发布时间】:2017-08-13 02:25:24
【问题描述】:

我已经为 arduino micro pro 板编程了几个星期,最近(在我尝试的所有设备上)当我通过 Arduino IDE 上传我的代码、任何代码时,我收到以下错误:

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type = 
Software Version = .; Hardware Version = .
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

当我断开并重新连接电路板时,它会运行我在此问题发生之前上传到它的最后一个代码。

有人知道如何解决这个问题吗?

【问题讨论】:

  • 看起来你要么烧坏了你的程序员,要么PC配置搞砸了。我会尝试卸载/重新安装程序员驱动程序。或者尝试让它与另一台 PC 一起运行以确定是哪台。
  • @MichaëlRoy 我试过在不同的设备上运行,至于重新安装驱动程序,你的意思是重新安装 ARDUINO-IDE 编译器吗?我问的原因是我已经这样做了,但是,如果这不是你所说的司机的意思,我会怎么做呢?

标签: arduino arduino-ide


【解决方案1】:

如果您使用的是基于 linux 的操作系统。尝试删除名为“modemmanager”的包

对于 ubuntu “sudo apt autoremove modemmanager”

重要提示: 如果您已经多次尝试将代码上传到 pro micro,则 pro micro 上的引导加载程序很可能已损坏。您将需要使用串行编程器(如 usbasp)将新的引导加载程序闪存到 pro micro

检查引导加载程序是否正常的简单提示: 将微型 USB 电缆插入其中时,请观察您的 pro micro。 1 个 LED 应亮起并保持亮起(表明 pro micro 正在通电) 另一个 LED 应该闪烁(除非 LED 闪烁已经上传到 promicro,在这种情况下它会闪烁 n 关闭)

如果 LED 发生任何其他情况(如第二个 LED 持续亮起),则引导加载程序可能已损坏。

【讨论】:

    【解决方案2】:

    我在尝试将代码上传到 Arduino Micro(中文克隆)时遇到了同样的问题。在 Google 上花费数小时,刷新新的引导加载程序 - 仍然一无所获。物理重置和以边界速率 1200 打开 COM 端口不起作用。为什么?

    我有 ATMEGA168 而不是 ATMEGA32u4!

    Google 告诉我们,Arduino Micro 获得了 Atmega32u4,但我的克隆获得了 Atmega168!首先,通过查找 Arduino 上的黑色焊接芯片来检查您的 atmega 类型。因此,我没有在 Arduino IDE 菜单上选择“Arduino Micro”,而是选择了 Arduino Nano,一切正常!

    【讨论】:

      猜你喜欢
      • 2021-05-10
      • 1970-01-01
      • 2018-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-18
      • 1970-01-01
      相关资源
      最近更新 更多