极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 11577|回复: 4

Attiny13+arduino IDE+usbasp

[复制链接]
发表于 2013-9-12 12:56:12 | 显示全部楼层 |阅读模式
本帖最后由 guqi 于 2013-9-16 10:53 编辑

abstract:Use arduino IDE and make a hex. file before uploading it into attiny13 thr avr fighter with usbasp if you use IDE more fluently
than any other.
step 1
put the core13 into the right folder positon,such as "E:\arduino-1.0.1\hardware\arduino\cores" in my PC.
step 2
add the boards information into arduino folder.
step 3
open the IDE from arduino and choose [email protected] clock from tools.
step 4
add an address which can save the hex.file
step 5
choose the blink program and swap the ledpin from 13 to 0,and then clip the verify.
Don't forget to make the flash page room from 64 to 32 before uploading or you will meet a mistake when the flash is verfied
in avr fighter.
step 6
open the avr fighter and choose the chip "attiny13",set the low fuses=69 and high fuses=FF.
step 7
load flash and upload onto the chip,attiny13.
step 8
you can see the led blinking when its negative is wired into ground  and the positive is wired into pin0 which is defined PB0 in
attiny13


Last but not least,thanks for the geek-workshop and thanks for all of people who help me patiently.
***********************************************************************************************
references


http://www.geek-workshop.com/forum.php?mod=viewthread&tid=761
http://elabz.com/arduino-shrunk-how-to-use-attiny13-with-arduino-ide
http://www.geek-workshop.com/forum.php?mod=viewthread&tid=959
http://see.sl088.com/wiki/AVR_fighter
http://wenku.baidu.com/view/252eb5dc50e2524de5187e33.html
http://hlt.media.mit.edu/?p=1695
http://www.atmel.com/images/doc2535.pdf


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复

使用道具 举报

发表于 2013-9-16 16:33:19 | 显示全部楼层
本帖最后由 ent173 于 2013-9-16 16:35 编辑

Really cool stuff, but it's hard for most of us to read it. Um, for it is in English. Do u speak Chinese?

说人话 {:soso_e101:}
回复 支持 反对

使用道具 举报

发表于 2013-9-17 22:37:08 来自手机 | 显示全部楼层
看懂了几句,知道手里的芯片有希望了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-18 10:20:17 | 显示全部楼层
Jerry 发表于 2013-9-17 22:37
看懂了几句,知道手里的芯片有希望了

改天放个详细的中文说明,都是拿来主义,只不过这次不想浪费手上usbisp下载线
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-18 12:30:13 | 显示全部楼层
Jerry 发表于 2013-9-17 22:37
看懂了几句,知道手里的芯片有希望了

出了个中文教程,希望对你有用
Attiny13在arduinoIDE下编程,详细攻略(图文)
http://www.ndiy.cn/thread-23641-1-1.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-5-3 08:02 , Processed in 0.042985 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表