人気ブログランキング | 話題のタグを見る

金銭上の利益のためだけでなく、専ら個人的な興味によって行う自己満足、通信及び技術的遊戯のための備忘的ブログです。


by jq1ocr

【備忘】ATmega328P fuse bit default setting


DEVICE = atmega328p
CLOCK = 8000000
PROGRAMMER = -c avrisp2 -P usb
OBJECTS = main.o
FUSES = -U hfuse:w:0b11011001:m -U lfuse:w:0b01100010:m
# ATMega328P fuse bits (fuse bits for other devices are different!):
# Example for 8 MHz internal oscillator, default setting
# Fuse high byte:
# 0xd9 = 1 1 0 1 1 0 0 1 <-- BOOTRST (boot reset vector at 0x0000)
# ^ ^ ^ ^ ^ ^ ^------ BOOTSZ0
# | | | | | +-------- BOOTSZ1
# | | | | +---------- EESAVE (0 : preserve EEPROM over chip erase)
# | | | +-------------- WDTON (0 : Watchdog timer always on)
# | | +---------------- SPIEN (1 : serial programming is disabled)
# | +------------------ DWEN (0 : debugWIRE enabled)
# +-------------------- RSTDISBL (0 : RESET pin is disabled)
# Fuse low byte:
# 0x62 = 0 1 1 0 0 0 1 0
# ^ ^ ¥ / ¥--+--/
# | | | +------- CKSEL 3..0 (clock source. internal RC,7.3-8.1MHz)
# | | +--------------- SUT 1..0 (start-up time. slowly rising power 14CK+65ms)
# | +------------------ CKOUT (clock output)
# +-------------------- CKDIV8 (divide clock by 8)

名前
URL
削除用パスワード

※このブログはコメント承認制を適用しています。ブログの持ち主が承認するまでコメントは表示されません。

by jq1ocr | 2010-07-17 20:48 | マイコン・電子工作 | Comments(0)