diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-06-10 14:58:24 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-06-10 14:58:24 -0400 |
| commit | ca01d94005f67ec4fa9528353481faa622d949ae (patch) | |
| tree | dd6d59d065492e3bb8192263a8a7e7cc0709c48f /docs/fuse.txt | |
| parent | 558db0e03f0f3993e2b7fb5cc3f285393da0a4c3 (diff) | |
| download | qmk_firmware-ca01d94005f67ec4fa9528353481faa622d949ae.tar.gz qmk_firmware-ca01d94005f67ec4fa9528353481faa622d949ae.zip | |
convert docs to lowercase and underscores
Diffstat (limited to 'docs/fuse.txt')
| -rw-r--r-- | docs/fuse.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/fuse.txt b/docs/fuse.txt new file mode 100644 index 000000000..99ddd2d18 --- /dev/null +++ b/docs/fuse.txt | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | Atmega32u4 Fuse/Lock Bits for Planck/Atomic/Preonic | ||
| 2 | ========================= | ||
| 3 | |||
| 4 | Low Fuse: 0x5E | ||
| 5 | High Fuse: 0x99 | ||
| 6 | Extended Fuse: 0xF3 | ||
| 7 | Lock Byte: 0xFF | ||
| 8 | |||
| 9 | |||
| 10 | ATMega168P Fuse/Lock Bits | ||
| 11 | ========================= | ||
| 12 | This configuration is from usbasploader's Makefile. | ||
| 13 | |||
| 14 | HFUSE 0xD6 | ||
| 15 | LFUSE 0xDF | ||
| 16 | EFUSE 0x00 | ||
| 17 | LOCK 0x3F(intact) | ||
| 18 | |||
| 19 | #--------------------------------------------------------------------- | ||
| 20 | # ATMega168P | ||
| 21 | #--------------------------------------------------------------------- | ||
| 22 | # Fuse extended byte: | ||
| 23 | # 0x00 = 0 0 0 0 0 0 0 0 <-- BOOTRST (boot reset vector at 0x1800) | ||
| 24 | # \+/ | ||
| 25 | # +------- BOOTSZ (00 = 2k bytes) | ||
| 26 | # Fuse high byte: | ||
| 27 | # 0xd6 = 1 1 0 1 0 1 1 0 | ||
| 28 | # ^ ^ ^ ^ ^ \-+-/ | ||
| 29 | # | | | | | +------ BODLEVEL 0..2 (110 = 1.8 V) | ||
| 30 | # | | | | + --------- EESAVE (preserve EEPROM over chip erase) | ||
| 31 | # | | | +-------------- WDTON (if 0: watchdog always on) | ||
| 32 | # | | +---------------- SPIEN (allow serial programming) | ||
| 33 | # | +------------------ DWEN (debug wire enable) | ||
| 34 | # +-------------------- RSTDISBL (reset pin is enabled) | ||
| 35 | # Fuse low byte: | ||
| 36 | # 0xdf = 1 1 0 1 1 1 1 1 | ||
| 37 | # ^ ^ \ / \--+--/ | ||
| 38 | # | | | +------- CKSEL 3..0 (external >8M crystal) | ||
| 39 | # | | +--------------- SUT 1..0 (crystal osc, BOD enabled) | ||
| 40 | # | +------------------ CKOUT (if 0: Clock output enabled) | ||
| 41 | # +-------------------- CKDIV8 (if 0: divide by 8) | ||
| 42 | |||
| 43 | |||
| 44 | # Lock Bits | ||
| 45 | # 0x3f = - - 1 1 1 1 1 1 | ||
| 46 | # \ / \-/ \-/ | ||
| 47 | # | | +----- LB 2..1 (No memory lock features enabled) | ||
| 48 | # | +--------- BLB0 2..1 (No restrictions for SPM or LPM accessing the Application section) | ||
| 49 | # +--------------- BLB1 2..1 (No restrictions for SPM or LPM accessing the Boot Loader section) | ||
| 50 | |||
