Arduino Mega没有重置

时间:2014-03-25 09:23:43

标签: arduino bootloader avrdude

我的新Arduino Mega 2560(克隆版)存在很大问题。 LED(引脚13)永久打开,ON LED也永久打开。如果按下复位按钮没有任何反应,两个LED都会亮着。 当我按下复位按钮时,我已经测量了复位引脚上是否有低电平。情况确实如此,但董事会没有反应。

如果我尝试直接上传草图,我会收到错误信息, 如果我尝试通过Arduino上传草图作为ISP,则是同样的错误。 如果我尝试在Arduino IDE中直接刻录bootloader,我会收到此错误:

     Using Port                    : usb
     Using Programmer              : stk500v2
     avrdude: usbdev_open(): did not find any USB device "usb"

如果我尝试通过Arduino将引导加载程序作为ISP进行刻录,则会出现超时错误。但有时候(我试着在几分钟按下重置按钮)我收到这个错误:

     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 -patmega2560 -cstk500v1 -P\\.\COM10 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m 

     avrdude: Version 5.11, compiled on Sep  2 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                    : \\.\COM10
     Using Programmer              : stk500v1
     Overriding Baud Rate          : 19200
     avrdude: Send: 0 [30]   [20] 
     avrdude: Send: 0 [30]   [20] 
     avrdude: Send: 0 [30]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [10] 
     AVR Part                      : ATMEGA2560
     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    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : STK500
     Description     : Atmel STK500 Version 1.x firmware
     avrdude: Send: A [41] . [80]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [02] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [81]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [01] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [82]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [12] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [98]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     Hardware Version: 2
     Firmware Version: 1.18
     Topcard         : Unknown
     avrdude: Send: A [41] . [84]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [85]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [86]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [87]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [89]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     Vtarget         : 0.0 V
     Varef           : 0.0 V
     Oscillator      : Off
     SCK period      : 0.1 us

     avrdude: Send: A [41] . [81]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [01] 
     avrdude: Recv: . [10] 
     avrdude: Send: A [41] . [82]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [12] 
     avrdude: Recv: . [10] 
     avrdude: Send: B [42] . [00] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [00] . [00] . [00] . [00] . [01] . [00] . [10] . [00] . [00] . [04] . [00] . [00]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [10] 
     avrdude: Send: E [45] . [05] . [08] . [d7] . [a0] . [00]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [10] 
     avrdude: Send: P [50]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [10] 
     avrdude: AVR device initialized and ready to accept instructions

     Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     ################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [00] 
     avrdude: Recv: . [10] 
     ################################## | 100% 0.06s

     avrdude: Device signature = 0x000000
     avrdude: Yikes!  Invalid device signature.
     Double check connections and try again, or use -F to override
     this check.

     avrdude: Send: Q [51]   [20] 
     avrdude: Recv: . [14] 
     avrdude: Recv: . [10] 

     avrdude done.  Thank you.

我也尝试过nick gammons board detector和board programmer但是我没有进入编程模式。

有人可以告诉我一种方法让我的Mega活着吗? 我不知道该怎么做.. 抱歉我的英文不好btw。

0 个答案:

没有答案