1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Arduino IDE在编译时正常,但是无法上传,总是显示找到无效库。
Arduino:1.8.8 (Windows 7) 开发板:"Arduino Nano ATmega328P" 警告:库 Mozzi 中的分类 'Audio' 不可用。设置为 'Uncategorized' 项目使用了 2750 字节,占用了 (8%) 程序存储空间。最大为 30720 字节。 全局变量使用了40字节,(1%)的动态内存,余留2008字节局部变量。最大为2048字节。 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x74 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x74 上传出错。查看http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。 找到无效库在 F:ArduinolibrariesAP_HAL_PX4: no headers files (.h) found in F:ArduinolibrariesAP_HAL_PX4 找到无效库在 F:ArduinolibrariesDesktop: no headers files (.h) found in F:ArduinolibrariesDesktop 找到无效库在 F:Arduinolibrariesdoc: no headers files (.h) found in F:Arduinolibrariesdoc 找到无效库在 F:Arduinolibrariesgrbl-1.1e: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1e 找到无效库在 F:Arduinolibrariesgrbl-1.1f: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1f 找到无效库在 F:ArduinolibrariesSoftwareSerial: no headers files (.h) found in F:ArduinolibrariesSoftwareSerial 找到无效库在 F:ArduinolibrariesAP_HAL_PX4: no headers files (.h) found in F:ArduinolibrariesAP_HAL_PX4 找到无效库在 F:ArduinolibrariesDesktop: no headers files (.h) found in F:ArduinolibrariesDesktop 找到无效库在 F:Arduinolibrariesdoc: no headers files (.h) found in F:Arduinolibrariesdoc 找到无效库在 F:Arduinolibrariesgrbl-1.1e: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1e 找到无效库在 F:Arduinolibrariesgrbl-1.1f: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1f 找到无效库在 F:ArduinolibrariesSoftwareSerial: no headers files (.h) found in F:ArduinolibrariesSoftwareSerial 这是更为详细的反馈 Arduino:1.8.8 (Windows 7) 开发板:"Arduino Nano ATmega328P" F:Arduinoarduino-builder -dump-prefs -logger=machine -hardware F:Arduinohardware -tools F:Arduinotools-builder -tools F:Arduinohardwaretoolsavr -built-in-libraries F:Arduinolibraries -libraries C:UsershjzDocumentsArduinolibraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path C:UsershjzAppDataLocalTemparduino_build_368622 -warnings=none -build-cache C:UsershjzAppDataLocalTemparduino_cache_415418 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.avrdude.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.arduinoOTA.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.arduinoOTA-1.2.1.path=F:Arduinohardwaretoolsavr -verbose D:Arduino程序lamp_wsrlamp_wsr.ino F:Arduinoarduino-builder -compile -logger=machine -hardware F:Arduinohardware -tools F:Arduinotools-builder -tools F:Arduinohardwaretoolsavr -built-in-libraries F:Arduinolibraries -libraries C:UsershjzDocumentsArduinolibraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path C:UsershjzAppDataLocalTemparduino_build_368622 -warnings=none -build-cache C:UsershjzAppDataLocalTemparduino_cache_415418 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.avrdude.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.arduinoOTA.path=F:Arduinohardwaretoolsavr -prefs=runtime.tools.arduinoOTA-1.2.1.path=F:Arduinohardwaretoolsavr -verbose D:Arduino程序lamp_wsrlamp_wsr.ino Using board 'nano' from platform in folder: F:Arduinohardwarearduinoavr Using core 'arduino' from platform in folder: F:Arduinohardwarearduinoavr 警告:库 Mozzi 中的分类 'Audio' 不可用。设置为 'Uncategorized' Detecting libraries used... "F:\Arduino\hardware\tools\avr/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=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IF:\Arduino\hardware\arduino\avr\cores\arduino" "-IF:\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\sketch\lamp_wsr.ino.cpp" -o nul "F:\Arduino\hardware\tools\avr/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=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IF:\Arduino\hardware\arduino\avr\cores\arduino" "-IF:\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IF:\Arduino\libraries\Adafruit_NeoPixel" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\sketch\lamp_wsr.ino.cpp" -o nul Using cached library dependencies for file: F:ArduinolibrariesAdafruit_NeoPixelAdafruit_NeoPixel.cpp Using cached library dependencies for file: F:ArduinolibrariesAdafruit_NeoPixelesp8266.c Generating function prototypes... "F:\Arduino\hardware\tools\avr/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=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IF:\Arduino\hardware\arduino\avr\cores\arduino" "-IF:\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IF:\Arduino\libraries\Adafruit_NeoPixel" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\sketch\lamp_wsr.ino.cpp" -o "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\preproc\ctags_target_for_gcc_minus_e.cpp" "F:\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\preproc\ctags_target_for_gcc_minus_e.cpp" 正在编译项目... "F:\Arduino\hardware\tools\avr/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=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IF:\Arduino\hardware\arduino\avr\cores\arduino" "-IF:\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IF:\Arduino\libraries\Adafruit_NeoPixel" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\sketch\lamp_wsr.ino.cpp" -o "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\sketch\lamp_wsr.ino.cpp.o" avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xfe Compiling libraries... Compiling library "Adafruit_NeoPixel" 使用已经编译的文件:C:UsershjzAppDataLocalTemparduino_build_368622librariesAdafruit_NeoPixelesp8266.c.o 使用已经编译的文件:C:UsershjzAppDataLocalTemparduino_build_368622librariesAdafruit_NeoPixelAdafruit_NeoPixel.cpp.o Compiling core... Using precompiled core: C:UsershjzAppDataLocalTemparduino_cache_415418corecore_arduino_avr_nano_cpu_atmega328_5b1c48e08cbbd63b2c664db64afe1f98.a linking everything together... "F:\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl--gc-sections -mmcu=atmega328p -o "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/lamp_wsr.ino.elf" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\sketch\lamp_wsr.ino.cpp.o" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp.o" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622\libraries\Adafruit_NeoPixel\esp8266.c.o" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/..\arduino_cache_415418\core\core_arduino_avr_nano_cpu_atmega328_5b1c48e08cbbd63b2c664db64afe1f98.a" "-LC:\Users\hjz\AppData\Local\Temp\arduino_build_368622" -lm "F:\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=allocload --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/lamp_wsr.ino.elf" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/lamp_wsr.ino.eep" "F:\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/lamp_wsr.ino.elf" "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/lamp_wsr.ino.hex" 使用 1.0.6 版本的库 Adafruit_NeoPixel 在文件夹: F:ArduinolibrariesAdafruit_NeoPixel "F:\Arduino\hardware\tools\avr/bin/avr-size" -A "C:\Users\hjz\AppData\Local\Temp\arduino_build_368622/lamp_wsr.ino.elf" 项目使用了 2750 字节,占用了 (8%) 程序存储空间。最大为 30720 字节。 全局变量使用了40字节,(1%)的动态内存,余留2008字节局部变量。最大为2048字节。 F:Arduinohardwaretoolsavr/bin/avrdude -CF:Arduinohardwaretoolsavr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:C:UsershjzAppDataLocalTemparduino_build_368622/lamp_wsr.ino.hex:i 上传出错。查看http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。 找到无效库在 F:ArduinolibrariesAP_HAL_PX4: no headers files (.h) found in F:ArduinolibrariesAP_HAL_PX4 avrdude: Version 6.3-20171130 Copyright (c) 2000-2005 Brian Dean http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "F找到无效库在 F:ArduinolibrariesDesktop: no headers files (.h) found in F:ArduinolibrariesDesktop :Arduinohardwaretoolsavr/etc/avrdude.conf" Using Port : COM4 Using Programmer : arduino Overriding Baud Rate : 115200 找到无效库在 F:Arduinolibrariesdoc: no headers files (.h) found in F:Arduinolibrariesdoc 找到无效库在 F:Arduinolibrariesgrbl-1.1e: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1e 找到无效库在 F:Arduinolibrariesgrbl-1.1f: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1f 找到无效库在 F:ArduinolibrariesSoftwareSerial: no headers files (.h) found in F:ArduinolibrariesSoftwareSerial 找到无效库在 F:ArduinolibrariesAP_HAL_PX4: no headers files (.h) found in F:ArduinolibrariesAP_HAL_PX4 找到无效库在 F:ArduinolibrariesDesktop: no headers files (.h) found in F:ArduinolibrariesDesktop 找到无效库在 F:Arduinolibrariesdoc: no headers files (.h) found in F:Arduinolibrariesdoc 找到无效库在 F:Arduinolibrariesgrbl-1.1e: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1e 找到无效库在 F:Arduinolibrariesgrbl-1.1f: no headers files (.h) found in F:Arduinolibrariesgrbl-1.1f 找到无效库在 F:ArduinolibrariesSoftwareSerial: no headers files (.h) found in F:ArduinolibrariesSoftwareSerial avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x11 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x11 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x11 向大神请教,急 |
|
相关推荐
1个回答
|
|
找到无效库可能把程序草稿存到arduino ide的库里。
无法上传和无效库没有关系,毕竟编译通过了。 1.检查COM口编号和波特率是否正确。 2.如果使用USB TTL,请互换 TX RX针脚。 3.下载时,按一下reset 试试。 |
|
|
|
只有小组成员才能发言,加入小组>>
791 浏览 0 评论
1151 浏览 1 评论
2527 浏览 5 评论
2860 浏览 9 评论
移植了freeRTOS到STMf103之后显示没有定义的原因?
2710 浏览 6 评论
keil5中manage run-time environment怎么是灰色,不可以操作吗?
1070浏览 3评论
193浏览 2评论
455浏览 2评论
368浏览 2评论
M0518 PWM的电压输出只有2V左右,没有3.3V是怎么回事?
453浏览 1评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 09:48 , Processed in 0.807733 second(s), Total 47, Slave 38 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号