Robofun 機器人論壇

標題: 燒ATtiny85出現的錯誤 [打印本頁]

作者: BlackJa    時間: 2015-6-10 00:10
標題: 燒ATtiny85出現的錯誤
幫忙看一下,燒ATtiny85出現的錯誤
我設定有錯嗎?

Arduino:1.6.4 (Windows 8.1), 板子:"ATtiny, ATtiny85, 20 MHz (external)"

E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CE:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -v -v -v -pattiny85 -cstk500v1 -PCOM3 -b19200 -e -Uefuse:w:0xff:m -Uhfuse:w:0xdf:m -Ulfuse:w:0xfe:m



avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58

         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         Copyright (c) 2007-2009 Joerg Wunsch



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



         Using Port                    : COM3

         Using Programmer              : stk500v1

         Overriding Baud Rate          : 19200

avrdude: Send: 0 [30]   [20]

avrdude: Send: 0 [30]   [20]

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03

avrdude: Send: 0 [30]   [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03



avrdude done.  Thank you.



上傳到板子時發生問題。可行建議請見http://www.arduino.cc/en/Guide/Troubleshooting#upload
作者: ates1687    時間: 2015-6-10 00:17
回復 1# BlackJa


   http://yehnan.blogspot.tw/2013/0 ... hattiny85-20pu.html
你有參考過這篇文章嗎@@?
作者: BlackJa    時間: 2015-6-10 00:54
回復  BlackJa


   
你有參考過這篇文章嗎@@?
ates1687 發表於 2015-6-10 00:17



   有.. 葉大的有看.. 但他的不是1.6.4的..只能參考 有試過了
作者: BlackJa    時間: 2015-6-13 01:59
找到原因了....
1.6.4 正確燒入動作
接電路板
ATtiny Pin 4 接到 Gnd
ATtiny Pin 8 接到 +5V
ATtiny Pin 1 (Reset Pin) 接到 Arduino Pin 10
ATtiny Pin 5 接到 Arduino Pin 11
ATtiny Pin 6 接到 Arduino Pin 12
ATtiny Pin 7 接到 Arduino Pin 13
電容10uF 25V 負極接到 Arduino Pin IOQEF ,正極5V。沒有電容 可以試看看直接5V對接...

動作1 打開 檔案 > 範例 > ArduinoISP 這支程式
動作2 到 工具 > 板子  選擇你的 Arduino 板子,例如 Uno 或 Duemilanove
動作3 上傳 ArduinoISP 程式

動作4 開啟自已寫的程式
動作5 到 工具 > 板子 >ATtiny
動作6 到 工具 > 型號 時脈 1HZ (1Hz的比較準,其它的好像需要外部的時脈 20Hz delay(1000)跑了20秒)
動作7 上傳   <-以上的這個動作 只需要按畫面上的就好了




歡迎光臨 Robofun 機器人論壇 (https://robofun.net/forum/) Powered by Discuz! X3.2