2017-08-28 147 views
0

我正在開發一個幾個月前開始的項目,上傳似乎是確定的,直到隨機停止。我更新了IDE到最新版本(1.8.4),更新了驅動程序(USBTinyISP),禁用/啓用了COM端口,嘗試了多個pro mini,上傳示例草圖,更改了usb端口,並在上傳過程中啓用了詳細輸出。奇怪的是,我可以看到舊的串行監視器數據打印從我以前的上傳更改今天早上,所以我知道通信正在工作。以下是嘗試將草圖上傳到電路板後顯示的消息。Arduino Pro Mini IDE 1.8.4 avrdude:stk500recv():程序員沒有迴應

Arduino: 1.8.4 (Windows 8.1), Board: "Arduino Pro or Pro Mini, ATmega168 (3.3V, 8 MHz)" 

Archiving built core (caching) in: C:\Users\pxb07\AppData\Local\Temp\arduino_cache_814882\core\core_arduino_avr_pro_cpu_8MHzatmega168_0c812875ac70eb4a9b385d8fb077f54c.a 
Sketch uses 3284 bytes (22%) of program storage space. Maximum is 14336 bytes. 
Global variables use 335 bytes (32%) of dynamic memory, leaving 689 bytes for local variables. Maximum is 1024 bytes. 
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega168 -carduino -PCOM8 -b19200 -D -Uflash:w:C:\Users\pxb07\AppData\Local\Temp\arduino_build_381498/SoftwareSerialExample.ino.hex:i 

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

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

     Using Port     : COM8 
     Using Programmer    : arduino 
     Overriding Baud Rate   : 19200 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x28 
avrdude: stk500_recv(): programmer is not responding 
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x28 

avrdude done. Thank you. 

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. 

This report would have more information with 
"Show verbose output during compilation" 
option enabled in File -> Preferences. 
+0

您確定在上傳時沒有將任何跨接線連接到端口0和1。 – Billa

+0

有時,在向Arduino Mini上傳新草圖時,您需要立即按下電路板上的重置按鈕,然後在Arduino環境中按上傳按鈕。你可以試試這個嗎? –

+0

@Billa我確定沒有任何東西連接到這兩個主板上的引腳。 – 1QuickQuestion

回答

1

我會推薦test loopback以確保串行通信通道完好無損。我假設電路板和端口選擇正確。

如果環回工作,請立即在閃爍/上傳草圖到電路板之前立即重置電路板。

+0

環回測試有效,我得到我的輸入回饋給我。 – 1QuickQuestion

+0

我可以想到以下幾種可能性,您的電腦無法識別電路板,您是否可以檢查「設備管理器」和「端口」下,您是否看到Arduino,並且在IDE中選擇了相同的COM端口?如果一切正常,請將驅動程序升級到最新和最好的版本。 –

+0

它看起來像在IDE和設備管理器中都出現了端口。我找到了最新的固件(我正在使用FTDI),但仍然遇到問題。在點擊上傳之前,我按下了重置按鈕,但沒有上傳。我認爲它可能是arduino,但兩者似乎都運行良好,並且環回在兩者都沒有問題的情況下工作。 – 1QuickQuestion