ATtiny24a能用了! (2014-11-24 23:49:25)

可以烧入程序运行了,但是还不能算比较完美吧。

参考的文章是这篇arduino论坛的帖子

Programming ATTiny24 (and 44/84 of course)

照着下载master.zip文件解压到hardware目录,并配置boards.txt如下

attiny24.name=ATtiny24 (internal 1 MHz clock)

attiny24.bootloader.low_fuses=0x62

attiny24.bootloader.high_fuses=0xdf

attiny24.bootloader.extended_fuses=0xff

attiny24.upload.maximum_size=2048

attiny24.build.mcu=attiny24

attiny24.build.f_cpu=1000000L

attiny24.build.core=arduino:arduino

attiny24.build.variant=tiny14

attiny24-8.name=ATtiny24 (internal 8 MHz clock)

attiny24-8.bootloader.low_fuses=0xe2

attiny24-8.bootloader.high_fuses=0xdf

attiny24-8.bootloader.extended_fuses=0xff

attiny24-8.upload.maximum_size=2048

attiny24-8.build.mcu=attiny24

attiny24-8.build.f_cpu=8000000L

attiny24-8.build.core=arduino:arduino

attiny24-8.build.variant=tiny14

attiny24-20.name=ATtiny24 (external 20 MHz clock)

attiny24-20.bootloader.low_fuses=0xfe

attiny24-20.bootloader.high_fuses=0xdf

attiny24-20.bootloader.extended_fuses=0xff

attiny24-20.upload.maximum_size=2048

attiny24-20.build.mcu=attiny24

attiny24-20.build.f_cpu=20000000L

attiny24-20.build.core=arduino:arduino

attiny24-20.build.variant=tiny14

比较顺利的就运行了,上一篇文章提到的tiny24的链接没测试成功,还需要研究下。

你可能感兴趣的:(ATtiny24a能用了! (2014-11-24 23:49:25))