Robofun 機器人論壇

 找回密碼
 申請會員
搜索
熱搜: 活動 交友 discuz
查看: 5987|回復: 3
打印 上一主題 下一主題

燒ATtiny85出現的錯誤

[複製鏈接]
跳轉到指定樓層
1#
發表於 2015-6-10 00:10:31 | 只看該作者 |只看大圖 回帖獎勵 |倒序瀏覽 |閱讀模式
幫忙看一下,燒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
2#
發表於 2015-6-10 00:17:31 | 只看該作者
回復 1# BlackJa


   http://yehnan.blogspot.tw/2013/0 ... hattiny85-20pu.html
你有參考過這篇文章嗎@@?
3#
 樓主| 發表於 2015-6-10 00:54:40 | 只看該作者
回復  BlackJa


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



   有.. 葉大的有看.. 但他的不是1.6.4的..只能參考 有試過了
4#
 樓主| 發表於 2015-6-13 01:59:51 | 只看該作者
找到原因了....
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 上傳   <-以上的這個動作 只需要按畫面上的就好了
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

小黑屋|手機版|Archiver|機器人論壇 from 2005.07

GMT+8, 2025-1-31 07:07 , Processed in 0.098593 second(s), 10 queries , Apc On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表