Mat 发表于 2014-4-4 00:48:33

程序烧不进去

本帖最后由 Mat 于 2014-4-4 21:06 编辑

用别人的电脑可以烧入程序,我觉得应该不是板子的问题。
每次点完upload,电脑的设备管理器原有的arduino lilypad usb串口 会变成 Pro micro,然后又变回 arduino lilypad usb串口。
程序烧到一部分后无法继续。
我插拔了几次,也换了几个串口都不行。我用的Arduino IDE 1.5.6-r2,但用别人的电脑就可以烧入,感到很奇怪。

错误代码
Sketch uses 5,524 bytes (19%) of program storage space. Maximum is 28,672 bytes.
Global variables use 157 bytes (6%) of dynamic memory, leaving 2,403 bytes for local variables. Maximum is 2,560 bytes.
Forcing reset using 1200bps open/close on port COM8
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {COM8, } => {}
PORTS {COM8, } / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {COM8, } => {COM8, }
Found upload port: COM8
C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega32u4 -cavr109 -PCOM8 -b57600 -D -Uflash:w:C:\Users\lenovo\AppData\Local\Temp\build7185759348644319422.tmp/Fade.cpp.hex:i

avrdude: Version 5.11, compiled on Sep2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"

         Using Port                  : COM8
         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 SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         eeprom      65    10   8    0 no       1024    8      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         flash         65   6   128    0 yes   32768128    25645004500 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         lfuse          0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         hfuse          0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         efuse          0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         lock         0   0   0    0 no          1    0      090009000 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         calibration    0   0   0    0 no          1    0      0   0   0 0x00 0x00
                                  Block Poll               Page                     Polled
         Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
         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: .avrdude: Send: .
avrdude: Send: S
avrdude: Recv:

avrdude: Recv:
avrdude: Send: V
avrdude: Recv:
avrdude: Send: v
avrdude: Recv:
avrdude: Recv:
avrdude: Send: p
avrdude: Recv:
Found programmer: Id = "?("; type = ?
    Software Version = E.;Hardware Version = ?
avrdude: Send: a
avrdude: Recv:
avrdude: Send: b
avrdude: Recv:
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
processing.app.debug.RunnerException
        at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:125)
        at processing.app.Sketch.upload(Sketch.java:1719)
        at processing.app.Sketch.exportApplet(Sketch.java:1625)
        at processing.app.Sketch.exportApplet(Sketch.java:1597)
        at processing.app.Editor$DefaultExportHandler.run(Editor.java:2397)
        at java.lang.Thread.run(Unknown Source)
Caused by: processing.app.debug.RunnerException: Problem uploading to board.See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
        at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:111)
        at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:123)
        ... 5 more
页: [1]
查看完整版本: 程序烧不进去