Attiny13+arduino IDE+usbasp
本帖最后由 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 groundand 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
本帖最后由 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:} 看懂了几句,知道手里的芯片有希望了 Jerry 发表于 2013-9-17 22:37 static/image/common/back.gif
看懂了几句,知道手里的芯片有希望了
改天放个详细的中文说明,都是拿来主义,只不过这次不想浪费手上usbisp下载线 Jerry 发表于 2013-9-17 22:37 static/image/common/back.gif
看懂了几句,知道手里的芯片有希望了
出了个中文教程,希望对你有用:loveliness:
Attiny13在arduinoIDE下编程,详细攻略(图文)
http://www.ndiy.cn/thread-23641-1-1.html
页:
[1]