上传错误-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 519|回复: 1

[未解决] 上传错误

[复制链接]
发表于 2022-5-6 23:15 | 显示全部楼层 |阅读模式
Arduino:1.8.19 (Windows 10), 开发板:"Arduino Uno"


项目使用了 3770 字节,占用了 (11%) 程序存储空间。最大为 32256 字节。

全局变量使用了290字节,(14%)的动态内存,余留1758字节局部变量。最大为2048字节。

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x39

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x39

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x39

avrdude: ser_recv(): read error: �����߳��˳���Ӧ�ó�����������ֹ I/O ������


avrdude: ser_recv(): read error: �����߳��˳���Ӧ�ó�����������ֹ I/O ������






avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x39

avrdude: ser_send(): write error: sorry no info avail

avrdude: ser_recv(): read error: �豸��ʶ������




avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x39

avrdude: ser_send(): write error: sorry no info avail

avrdude: ser_recv(): read error: �豸��ʶ������




avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x39

avrdude: ser_send(): write error: sorry no info avail

avrdude: ser_recv(): read error: �豸��ʶ������




avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x39

avrdude: ser_send(): write error: sorry no info avail

avrdude: ser_recv(): read error: �豸��ʶ������




avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x39

avrdude: ser_send(): write error: sorry no info avail

avrdude: ser_recv(): read error: �豸��ʶ������




avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x39

avrdude: ser_send(): write error: sorry no info avail

avrdude: ser_recv(): read error: �豸��ʶ������




avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x39

avrdude: ser_drain(): read error: �豸��ʶ������
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。



求助大佬,


 楼主| 发表于 2022-5-6 23:24 | 显示全部楼层
D:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Arduino\hardware -hardware C:\Users\咸鱼\AppData\Local\Arduino15\packages -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -tools C:\Users\咸鱼\AppData\Local\Arduino15\packages -built-in-libraries D:\Arduino\libraries -libraries D:\Ardiuno project\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0043 -ide-version=10819 -build-path C:\Users\咸鱼\AppData\Local\Temp\arduino_build_232371 -warnings=none -build-cache C:\Users\咸鱼\AppData\Local\Temp\arduino_cache_454707 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose D:\Ardiuno project\sketch_may06a\sketch_may06b\sketch_may06b.ino
D:\Arduino\arduino-builder -compile -logger=machine -hardware D:\Arduino\hardware -hardware C:\Users\咸鱼\AppData\Local\Arduino15\packages -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -tools C:\Users\咸鱼\AppData\Local\Arduino15\packages -built-in-libraries D:\Arduino\libraries -libraries D:\Ardiuno project\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0043 -ide-version=10819 -build-path C:\Users\咸鱼\AppData\Local\Temp\arduino_build_232371 -warnings=none -build-cache C:\Users\咸鱼\AppData\Local\Temp\arduino_cache_454707 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose D:\Ardiuno project\sketch_may06a\sketch_may06b\sketch_may06b.ino
Using board 'uno' from platform in folder: C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Using core 'arduino' from platform in folder: C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Detecting libraries used...
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\sketch\\sketch_may06b.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\sketch\\sketch_may06b.ino.cpp" -o "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"D:\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\preproc\\ctags_target_for_gcc_minus_e.cpp"
正在编译项目...
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\sketch\\sketch_may06b.ino.cpp" -o "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\sketch\\sketch_may06b.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\咸鱼\AppData\Local\Temp\arduino_cache_454707\core\core_arduino_avr_uno_4c1d8caa33c643ba7ad2cd3aa7f8a74c.a
Linking everything together...
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/sketch_may06b.ino.elf" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371\\sketch\\sketch_may06b.ino.cpp.o" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/..\\arduino_cache_454707\\core\\core_arduino_avr_uno_4c1d8caa33c643ba7ad2cd3aa7f8a74c.a" "-LC:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371" -lm
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/sketch_may06b.ino.elf" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/sketch_may06b.ino.eep"
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/sketch_may06b.ino.elf" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/sketch_may06b.ino.hex"
"C:\\Users\\咸鱼\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_232371/sketch_may06b.ino.elf"
项目使用了 3770 字节,占用了 (11%) 程序存储空间。最大为 32256 字节。
全局变量使用了290字节,(14%)的动态内存,余留1758字节局部变量。最大为2048字节。
C:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\咸鱼\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\咸鱼\AppData\Local\Temp\arduino_build_232371/sketch_may06b.ino.hex:i

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\����\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9b
这是上传
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 07:40 , Processed in 0.098425 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表