上传程序失败!-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 6077|回复: 5

上传程序失败!

[复制链接]
发表于 2018-3-13 23:57 | 显示全部楼层 |阅读模式
在啃萝卜上传失败,在Arduino上可以成功上传

在啃萝卜上显示的串口连接是:      /dev/tty.usbmodem1421
在Arduino IDE显示的串口连接是:/dev/cu.usbmodem1421

下面是啃萝卜中显示的错误日志,麻烦大神帮助
-------------------------------------------------------------------------
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:32:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Applications/KRobot.app/Contents/data/arduino-mac/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/zxh/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/tty.usbmodem1421
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3f

avrdude done.  Thank you.



-------------------------------------------------------------------------
下面是在Arduino中的上传日志:

/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware -tools /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/tools-builder -tools /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/libraries -libraries /Users/zxh/Documents/Arduino/libraries -fqbn=arduino:avr:micro -vid-pid=0X2341_0X8037 -ide-version=10802 -build-path /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570 -warnings=none -build-cache /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_cache_522137 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware -tools /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/tools-builder -tools /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/libraries -libraries /Users/zxh/Documents/Arduino/libraries -fqbn=arduino:avr:micro -vid-pid=0X2341_0X8037 -ide-version=10802 -build-path /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570 -warnings=none -build-cache /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_cache_522137 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
Using board 'micro' from platform in folder: /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8037 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Micro"' "-I/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr/variants/micro" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/sketch/Blink.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8037 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Micro"' "-I/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr/variants/micro" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/sketch/Blink.ino.cpp" -o "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/preproc/ctags_target_for_gcc_minus_e.cpp"
正在编译项目...
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8037 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Micro"' "-I/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/arduino/avr/variants/micro" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/sketch/Blink.ino.cpp" -o "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/sketch/Blink.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core
Linking everything together...
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega32u4  -o "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.elf" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/sketch/Blink.ino.cpp.o" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/../arduino_cache_522137/core/core_arduino_avr_micro_14161756f59711ff437ae57bed14c2ff.a" "-L/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570" -lm
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.elf" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.eep"
"/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom  "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.elf" "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.hex"
项目使用了 4114 字节,占用了 (14%) 程序存储空间。最大为 28672 字节。
全局变量使用了147字节,(5%)的动态内存,余留2413字节局部变量。最大为2560字节。
在端口 /dev/cu.usbmodem1421 使用 1200bps 开/关来强行重置
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.RuilongMaker-DevB, /dev/cu.usbmodem1421, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.RuilongMaker-DevB, /dev/tty.usbmodem1421, } => {}
Uploading using selected port: /dev/cu.usbmodem1421
/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem1421 -b57600 -D -Uflash:w:/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Applications/Kittenblock.app/Contents/arduino/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/zxh/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem1421
         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: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: reading input file "/var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.hex"
avrdude: writing flash (4114 bytes):

Writing | ################################################## | 100% 0.32s

avrdude: 4114 bytes of flash written
avrdude: verifying flash memory against /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.hex:
avrdude: load data flash data from input file /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.hex:
avrdude: input file /var/folders/yt/bmjgf_pj54n_brgk57vryl7c0000gp/T/arduino_build_970570/Blink.ino.hex contains 4114 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.04s

avrdude: verifying ...
avrdude: 4114 bytes of flash verified

avrdude done.  Thank you.



发表于 2018-3-14 11:32 | 显示全部楼层
问一下用的什么板子
 楼主| 发表于 2018-3-14 22:16 | 显示全部楼层

WechatIMG1.jpeg
WechatIMG2.jpeg
这个板子有两年了,我的是mac电脑上,连接上显示的串口连接是这样的,选择这个可以在Arduino上把代码写入
串口.jpg
发表于 2018-3-15 13:44 | 显示全部楼层
实在抱歉哦,啃萝卜暂时还不支持这块Micro板子哦~
 楼主| 发表于 2018-3-15 21:03 | 显示全部楼层
哦,看来还是买一个正规的板子方便一些
发表于 2018-3-20 11:44 | 显示全部楼层
zxh1982 发表于 2018-3-15 21:03
哦,看来还是买一个正规的板子方便一些

跟正规不正规关系不大哦~ 主要是我们暂时没有支持这款型号的,UNO、NANO等还是很好的支持的,原版跟国内版本都支持
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 11:45 , Processed in 0.106314 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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