]>
Commit | Line | Data |
---|---|---|
ec1bef8e | 1 | fnordlicht original hardware |
2 | =========================================================================== | |
3 | ||
4 | atmega8: | |
5 | low fuse byte: | |
6 | clock-source external xtal: CHKSEL = 0 | |
7 | ||
8 | -> default: 0xe1 | |
9 | new: 0b11100000 = 0xe0 | |
10 | ||
11 | high fuse byte (with bootloader, leave at 0xd9 for use without bootloader): | |
12 | 512 words bootloader size: BOOTSZ0 = 1 | |
13 | BOOTSZ1 = 0 | |
14 | ||
15 | reset vector, jump to bootloader on reset: BOOTRST = 0 | |
16 | ||
17 | -> default: 0b11011001 = 0xd9 | |
18 | new: 0b11011010 = 0xda | |
19 | ||
20 | lock byte: | |
21 | ||
22 | SPM is not allowed to write to the Boot Loader section BLB12 = 1 | |
23 | BLB11 = 0 | |
24 | -> default: 0x3f | |
25 | new: 0x2f | |
26 | ||
27 | ||
28 | atmega88/168: | |
29 | low fuse byte: | |
30 | clock-source external xtal: CHKSEL = 0 | |
31 | ||
32 | disable system clock divide by 8: CKDIV8 = 1 | |
33 | ||
34 | -> default: 0b01100010 = 0x62 | |
35 | new: 0b11100000 = 0xe0 | |
36 | ||
37 | ||
38 | high fuse byte: | |
39 | no eeprom erase on chip erase: EESAVE = 0 | |
40 | ||
41 | -> default: 0b11011111 = 0xdf | |
42 | new: 0b11010111 = 0xd7 | |
43 | ||
44 | ||
45 | extended fuse byte: | |
46 | 1024 words bootloader size: BOOTSZ0 = 0 | |
47 | BOOTSZ1 = 0 | |
48 | ||
49 | reset vector, jump to bootloader on reset: BOOTRST = 0 | |
50 | ||
51 | -> default: 0x01 | |
52 | new: 0x00 | |
53 | ||
54 | lock byte: | |
55 | SPM is not allowed to write to the Boot Loader section BLB12 = 1 | |
56 | BLB11 = 0 | |
57 | ||
58 | -> default: 0b111111 = 0x3f | |
59 | new: 0b101111 = 0x2f | |
60 | ||
61 | ||
62 | fnordlichtmini hardware | |
63 | =========================================================================== | |
64 | ||
65 | atmega8: | |
66 | low fuse byte: | |
67 | clock-source external xtal: CHKSEL[1..3] = 111 | |
68 | slowly rising power, 65ms startup timeout: CHKSEL[0] = 1, SUT[0..1] = 11 | |
69 | enable brown-out detector: BODEN = 0 | |
70 | require ~4v for safe operation: BODLEVEL = 0 | |
71 | ||
72 | -> default: 0xe1 | |
73 | new: 0b00111111 = 0x3f | |
74 | ||
75 | high fuse byte (with bootloader, leave at 0xd9 for use without bootloader): | |
76 | 512 words bootloader size: BOOTSZ0 = 1 | |
77 | BOOTSZ1 = 0 | |
78 | ||
79 | reset vector, jump to bootloader on reset: BOOTRST = 0 | |
80 | ||
81 | -> default: 0b11011001 = 0xd9 | |
82 | new: 0b11011010 = 0xda | |
83 | ||
84 | lock byte: | |
85 | ||
86 | SPM is not allowed to write to the Boot Loader section BLB12 = 1 | |
87 | BLB11 = 0 | |
88 | -> default: 0x3f | |
89 | new: 0x2f | |
90 | ||
91 | ||
92 | fnordlicht-controller | |
93 | ========================================================================== | |
94 | ||
95 | atmega168: | |
96 | low fuse byte: | |
97 | clock-source external xtal: CHKSEL = 0111 | |
98 | ||
99 | disable system clock divide by 8: CKDIV8 = 1 | |
100 | ||
101 | -> default: 0b01100010 = 0x62 | |
102 | new: 0b11100111 = 0xe7 | |
103 | ||
104 | ||
105 | high fuse byte: | |
106 | ||
107 | -> default: 0b11011111 = 0xdf | |
108 | ||
109 | ||
110 | extended fuse byte: | |
111 | 1024 words bootloader size: BOOTSZ0 = 0 | |
112 | BOOTSZ1 = 0 | |
113 | ||
114 | reset vector, jump to bootloader on reset: BOOTRST = 0 | |
115 | ||
116 | -> default: 0b001 = 0x01 | |
117 | new: 0b000 = 0x00 | |
118 | ||
119 | ||
120 | lock byte: | |
121 | SPM is not allowed to write to the Boot Loader section BLB12 = 1 | |
122 | BLB11 = 0 | |
123 | ||
124 | -> default: 0b111111 = 0x3f | |
125 | new: 0b101111 = 0x2f |