アマチュア無線や電子工作,バイクの話などを徒然なるままに書き散らすメモ程度のblogです.


by jq1ocr

【備忘】ATtiny13A fuse bit default setting

DEVICE = attiny13
CLOCK = 9600000
PROGRAMMER = -c avrisp2 -P usb
OBJECTS = main.o
FUSES = -U hfuse:w:0xff:m -U lfuse:w:0x6a:m
# ATTiny13A fuse bits:
# Example for 9.6 MHz internal oscillator, default setting
# Fuse high byte: 0xff
# Bit Number / Fuse Bit / Description / Default Value
# 7 / NA / / 1
# 6 / NA / / 1
# 5 / NA / / 1
# 4 / SELFPRGEN / Self Programming Enable / 1(disable)
# 3 / DWEN / debugWire Enable / 1(disable)
# 2 / BODLEVEL1 / Brown-out Detector trigger level / 1
# 1 / BODLEVEL0 / Brown-out Detector trigger level / 1
# 0 / RSTDISBL / External Reset disable / 1(unprogrammed)
#
# Fuse low byte: 0x6a (0b01101010)
# Bit Number / Fuse Bit / Description / Default Value
# 7 / SPIEN / Enable Serial Programming and Data Downloading / 0(SPI prog. enabled)
# 6 / EESAVE / Preserve EEPROM memory through Chip Erase / 1(memory not preserved)
# 5 / WDTON / Watchdog Timer always on / 1(off)
# 4 / CKDIV8 / Divide clock by 8 / 0(enable)
# 3 / SUT1 / Select start-up time / 1
# 2 / SUT0 / Select start-up time / 0
# 1 / CKSEL1 / Select Clock source / 1
# 0 / CKSEL0 / Select Clock source / 0
#
# CKSEL[1:0]
# External Clock : 00
# Calibrated Internal 4.8MHz : 01
# Calibrated Internal 9.6MHz : 10
# Internal 128kHz : 11
[PR]
by jq1ocr | 2010-10-24 13:05 | マイコン・電子工作 | Comments(0)