上传项目出错,有可能是板子的问题吗-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 326|回复: 1

[未解决] 上传项目出错,有可能是板子的问题吗

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

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_838460 -warnings=none -build-cache C:\Users\咸鱼\AppData\Local\Temp\arduino_cache_585156 -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 C:\Users\咸鱼\AppData\Local\Temp\untitled2126617379.tmp\sketch_may07a\sketch_may07a.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_838460 -warnings=none -build-cache C:\Users\咸鱼\AppData\Local\Temp\arduino_cache_585156 -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 C:\Users\咸鱼\AppData\Local\Temp\untitled2126617379.tmp\sketch_may07a\sketch_may07a.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_838460\\sketch\\sketch_may07a.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_838460\\sketch\\sketch_may07a.ino.cpp" -o "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460\\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_838460\\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_838460\\sketch\\sketch_may07a.ino.cpp" -o "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460\\sketch\\sketch_may07a.ino.cpp.o"

Compiling libraries...

Compiling core...

Using precompiled core: C:\Users\咸鱼\AppData\Local\Temp\arduino_cache_585156\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_838460/sketch_may07a.ino.elf" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460\\sketch\\sketch_may07a.ino.cpp.o" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460/..\\arduino_cache_585156\\core\\core_arduino_avr_uno_4c1d8caa33c643ba7ad2cd3aa7f8a74c.a" "-LC:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460" -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_838460/sketch_may07a.ino.elf" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460/sketch_may07a.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_838460/sketch_may07a.ino.elf" "C:\\Users\\咸鱼\\AppData\\Local\\Temp\\arduino_build_838460/sketch_may07a.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_838460/sketch_may07a.ino.elf"

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

全局变量使用了9字节,(0%)的动态内存,余留2039字节局部变量。最大为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_838460/sketch_may07a.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=0x4f

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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

avrdude: stk500_recv(): programmer is not responding

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



avrdude done.  Thank you.



Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.


 楼主| 发表于 2022-5-7 15:25 | 显示全部楼层
问题解决了,换了块板子,那个应该是坏了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 07:46 , Processed in 0.068802 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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