上传Arduino Robot的问题:butterfly_recv():程序员没有响应

时间:2017-11-24 17:26:28

标签: arduino

几天前我开始使用Arduino机器人控制板。我做了一些教程,一切都很好。我可以使用Arduino IDE完美地上传我的程序。今天,我正在研究一个项目,并且已经上传,测试,调整,再次上传,...我按下了上传按钮,没有任何反应,我收到以下错误消息(启用了详细输出):

Der Sketch verwendet 14960 Bytes (52%) des Programmspeicherplatzes. Das Maximum sind 28672 Bytes.
Globale Variablen verwenden 1539 Bytes (60%) des dynamischen Speichers, 1021 Bytes für lokale Variablen verbleiben. Das Maximum sind 2560 Bytes.
Erzwinge Reset durch öffnen/schließen mit 1200 bps auf dem Port /dev/ttyACM1
Beim Hochladen des Sketches ist ein Fehler aufgetreten
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
PORTS {/dev/ttyACM1, } / {/dev/ttyACM1, } => {}
Uploading using selected port: /dev/ttyACM1
/home/lukas/Dokumente/Arduino/arduino-1.8.5/hardware/tools/avr/bin/avrdude -C/home/lukas/Dokumente/Arduino/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/ttyACM1 -b57600 -D -Uflash:w:/tmp/arduino_build_7255/Interrupts.ino.hex:i

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

         System wide configuration file is "/home/lukas/Dokumente/Arduino/arduino-1.8.5/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/lukas/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM1
         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
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 = Y.�; 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

我确实检查了连接,确保USB电缆没有损坏。我实际上可以使用IDE将程序上传到下层电机板,所以我认为这不是IDE的错。但由于我对Arduino世界相当陌生,所以我现在很无能为力。

我阅读了很多论坛帖子,但无法找到有效的解决方案。类似的问题似乎也发生在其他人身上,但对于其他Arduino平台。这些答案并没有解决我的问题,包括Arduino论坛本身。

我目前使用的是Lubuntu 16.04.3 LTS或Windows 10.两个操作系统都存在同样的问题。

感谢您的回复, glukas

0 个答案:

没有答案