Hallo!
Es geht um die Frage, wie die Fusebits in den meisten Fällen eingestellt werden müssen.
Und hier ist sie, die Auflistung der meist eingesetzten Standardeinstellungen der Fusebits für den ATmega8.
mySmartUSB mit "myAVR Workpad Plus"
1 Mhz interner RC-Oscillator
Low Fuse
11100001
- Brown-out detection level at VCC=2.7 V; [BODLEVEL=1]
- Int. RC Osc. 1 MHz; Start-up time: 6 CK + 64 ms; [CHSEL=0001 SUT=10]; default value
High Fuse
11011001
- Serial program downloading (SPI) enabled; [SPIEN=0]
- Boot Flash section size=1024 words Boot start address=$0C00; [BOOTSZ=00]; default value
Lockbits
11111111
- Mode 1: No memory lock features enabled
- Application Protection Mode 1: No Lock on SPM and LPM in Application Section
- Boot Loader Protection Mode 1: No lock on SPM and LPM in Boot Loader Section
8 Mhz interner RC-Oscillator
Low Fuse
11100100
- Brown-out detection level at VCC=2.7 V; [BODLEVEL=1]
- Int. RC Osc. 8 MHz; Start-up time: 6 CK + 64 ms; [CKSEL=0100 SUT=10]
High Fuse
11011001
- Serial program downloading (SPI) enabled; [SPIEN=0]
- Boot Flash section size=1024 words Boot start address=$0C00; [BOOTSZ=00]; default value
Lockbits
11111111
- Mode 1: No memory lock features enabled
- Application Protection Mode 1: No Lock on SPM and LPM in Application Section
- Boot Loader Protection Mode 1: No lock on SPM and LPM in Boot Loader Section
3-8 Mhz externer Quarz
Low Fuse
11111111
- Brown-out detection level at VCC=2.7 V; [BODLEVEL=1]
- Ext. Crystal/Resonator High Freq.; Start-up time: 16K CK + 64 ms; [CKSEL=1111 SUT=11]
High Fuse
11011001
- Serial program downloading (SPI) enabled; [SPIEN=0]
- Boot Flash section size=1024 words Boot start address=$0C00; [BOOTSZ=00]; default value
Lockbits
11111111
- Mode 1: No memory lock features enabled
- Application Protection Mode 1: No Lock on SPM and LPM in Application Section
- Boot Loader Protection Mode 1: No lock on SPM and LPM in Boot Loader Section
8-16 Mhz externer Quarz
Low Fuse
11111111
- Brown-out detection level at VCC=2.7 V; [BODLEVEL=1]
- Ext. Crystal/Resonator High Freq.; Start-up time: 16K CK + 64 ms; [CKSEL=1111 SUT=11]
High Fuse
11001001
- Serial program downloading (SPI) enabled; [SPIEN=0]
- Boot Flash section size=1024 words Boot start address=$0C00; [BOOTSZ=00]; default value
- CKOPT fuse (operation dependent of CKSEL fuses); [CKOPT=0]
Lockbits
11111111
- Mode 1: No memory lock features enabled
- Application Protection Mode 1: No Lock on SPM and LPM in Application Section
- Boot Loader Protection Mode 1: No lock on SPM and LPM in Boot Loader Section
PonyProg
1 Mhz interner RC-Oscillator
Lockbits
High Fuse
11011001
- SPIEN
- BOOTSZ1
- BOOTSZ0
Low Fuse
11100001
- SUT0
- CKSEL3
- CKSEL2
- CHSEL1
8 Mhz interner RC-Oscillator
Lockbits
High Fuse
11011001
- SPIEN
- BOOTSZ1
- BOOTSZ0
Low Fuse
11100100
- SUT0
- CKSEL3
- CKSEL1
- CHSEL0
3-8 Mhz externer Quarz
Lockbits
High Fuse
11011001
- SPIEN
- BOOTSZ1
- BOOTSZ0
Low Fuse
8-16 Mhz externer Quarz
Lockbits
High Fuse
11001001
- SPIEN
- CKOPT
- BOOTSZ1
- BOOTSZ0
Low Fuse
mfg Gerold :-)
Den zugehörigen Original-Beitrag findest du im Loetstelle-Forum.