我在将新代码上传到 Arduino Leonardo 板时遇到问题。这发生在上传以前的错误代码(例如,数组超出范围索引错误)之后。一旦我修复了错误代码,我就可以将它上传到另一个硬件单元,但不是以前有错误代码的同一单元。
我正在使用Microduino并尝试重置硬件(通过将 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 : …Run Code Online (Sandbox Code Playgroud) 尝试使用 pyinstaller 添加图标到我的 exe,但出现上述错误!
有关更多信息,请参阅:https://github.com/pyinstaller/pyinstaller/issues/2445
任何帮助表示赞赏!