Arduino Leonardo - “avrdude:butterfly_recv():程序员没有响应" [英] Arduino Leonardo - "avrdude: butterfly_recv(): programmer is not responding"
问题描述
我在将新代码上传到 Arduino Leonardo 开发板时遇到问题.这发生在上传之前有问题的代码(例如,数组超出范围索引错误)之后.一旦我修复了错误代码,我就可以将其上传到另一个硬件单元,但不是之前有错误代码的同一单元.
I am having issues uploading new code to an Arduino Leonardo board. This happens after uploading previous buggy code (e.g., array out of range indexing error). Once I fixed the buggy code, I can upload it to another hardware unit, but not the same unit that previously had the buggy code.
我正在使用 Microduino 并且我尝试重置硬件(通过将 GND 连接到 RSTpin),但我仍然无法上传新代码.我该如何解决这个问题?
I am using Microduino and I have tried resetting the hardware (by connecting GND to RST pin), yet I still cannot upload the new code on it. How can I fix this?
查看下面的详细输出日志:
See the verbose output log below:
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:\Program Files (x86)\Arduino IDE for Microduino\hardware\tools\avr/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: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
推荐答案
通过点击上传按钮后快速按下重置按钮修复了这个问题!
This was fixed by pushing the reset button quickly after I clicked on the upload button!
这篇关于Arduino Leonardo - “avrdude:butterfly_recv():程序员没有响应"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!