【问题标题】:Why flashing Arduino Leonardo clone from Eclipse C++ IDE for Arduino is failing?为什么从 Arduino 的 Eclipse C++ IDE 中闪烁 Arduino Leonardo 克隆失败?
【发布时间】:2018-09-02 11:55:31
【问题描述】:

我试图设置一个当前的 Eclipse CDT (Photon),以便对一个 Arduino Leonardo 克隆的 Micro strong (5V) 进行编程。预装了 Arduino 功能,这让我很惊讶。添加启动目标非常简单。代码的编译正在工作,但是当尝试刷新到 leonardo 克隆时,进程卡在控制台中报告以下内容:

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:/Users/zephr/.arduinocdt/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"

         Using Port                    : COM5
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding

avrdude: butterfly_recv(): programmer is not responding

有人知道是什么导致了这里的问题吗?该过程在原始 Arduino IDE 中运行顺利。进一步,我在哪里可以找到在 eclipse 设置中发送到 avrdude 的选项?我在构建选项中找不到任何东西...

您好……

【问题讨论】:

    标签: eclipse arduino usb


    【解决方案1】:

    你没有提到任何关于以 1200bps 比特率打开它的串行端口。这个特定的比特率用于进行软件重置并将板重新启动到引导加载程序中,因此可以重新编程 arduino。

    另一个问题是引导加载程序驻留在另一个 COM 端口上,而不是草图。这就是为什么 Arduino IDE 以 1200bps 的速度接触板的端口,然后检查 COM 端口接口上的变化。检测到正确的端口后,它开始闪烁。

    例如来自微板的调试信息:

    Forcing reset using 1200bps open/close on port COM6
    PORTS {COM6, } / {} => {}
    PORTS {} / {} => {}
    PORTS {} / {} => {}
    PORTS {} / {} => {}
    PORTS {} / {} => {}
    PORTS {} / {COM7, } => {COM7, }
    Found upload port: COM7
    C:\arduino-1.8.5\hardware\tools\avr/bin/avrdude -CC:\arduino-1.8.5\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM7 -b57600 -D -Uflash:w:C:\Users\user\AppData\Local\Temp\arduino_build_998217/sketch_sep02a.ino.hex:i 
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多