aboutsummaryrefslogtreecommitdiff
path: root/doc/FUSE.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/FUSE.txt')
-rw-r--r--doc/FUSE.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/FUSE.txt b/doc/FUSE.txt
new file mode 100644
index 000000000..40055e5ab
--- /dev/null
+++ b/doc/FUSE.txt
@@ -0,0 +1,40 @@
1ATMega168P Fuse/Lock Bits
2=========================
3This configuration is from usbasploader's Makefile.
4
5 HFUSE 0xD6
6 LFUSE 0xDF
7 EFUSE 0x00
8 LOCK 0x3F(intact)
9
10#---------------------------------------------------------------------
11# ATMega168P
12#---------------------------------------------------------------------
13# Fuse extended byte:
14# 0x00 = 0 0 0 0 0 0 0 0 <-- BOOTRST (boot reset vector at 0x1800)
15# \+/
16# +------- BOOTSZ (00 = 2k bytes)
17# Fuse high byte:
18# 0xd6 = 1 1 0 1 0 1 1 0
19# ^ ^ ^ ^ ^ \-+-/
20# | | | | | +------ BODLEVEL 0..2 (110 = 1.8 V)
21# | | | | + --------- EESAVE (preserve EEPROM over chip erase)
22# | | | +-------------- WDTON (if 0: watchdog always on)
23# | | +---------------- SPIEN (allow serial programming)
24# | +------------------ DWEN (debug wire enable)
25# +-------------------- RSTDISBL (reset pin is enabled)
26# Fuse low byte:
27# 0xdf = 1 1 0 1 1 1 1 1
28# ^ ^ \ / \--+--/
29# | | | +------- CKSEL 3..0 (external >8M crystal)
30# | | +--------------- SUT 1..0 (crystal osc, BOD enabled)
31# | +------------------ CKOUT (if 0: Clock output enabled)
32# +-------------------- CKDIV8 (if 0: divide by 8)
33
34
35# Lock Bits
36# 0x3f = - - 1 1 1 1 1 1
37# \ / \-/ \-/
38# | | +----- LB 2..1 (No memory lock features enabled)
39# | +--------- BLB0 2..1 (No restrictions for SPM or LPM accessing the Application section)
40# +--------------- BLB1 2..1 (No restrictions for SPM or LPM accessing the Boot Loader section)