我有问题上传新代码到Arduino Leonardo董事会。这发生在上传之前的错误代码(例如,数组超出范围的索引错误)。一旦我修复了but代码,我就可以将它上传到另一个硬件单元,而不是以前有but代码的那个单元。
我正在使用微杜诺,我已经尝试重新设置硬件(通过连接GND到RST引脚),但是我仍然不能上传新代码。我怎么才能解决这个问题?
请参阅下面的详细输出日志:
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发布于 2018-04-24 16:34:01
这是通过快速按下复位按钮后,我点击上传按钮!
发布于 2018-09-27 13:42:17
这可能是由于Leonardo/的工作方式(上传器等待一个新的串行端口出现,假定它是引导加载程序)。
官方的建议是按下和保持重置板上,点击上传,等待代码编译和状态栏说‘上传.’然后释放板上的重置按钮。
见此处:https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc6
发布于 2021-06-09 01:33:43
我有这个问题,我的专业微(使用Arduino类型莱昂纳多),最后通过不插入我的USB集线器和直接插入我的PC解决了它。
https://stackoverflow.com/questions/49283074
复制相似问题