Loading...
 

AVR fuses

Some fuse setting I use for my AVRS.

July 2010.
Setting incorrect fuses may render the AVR useless. Usually this can be repaired using a high-voltage programmer.
These setting may have errors or be incorrect for your project - check them and use at your own risk.
Making the reset pin and I/O pin means you can no longer use ISP. Selecting a clock mode you don't have the hardware for also kills ISP. Usually you can feed in external clock to recover. Invalid clock modes will also ruin your day.

The fuse setting are NOT the same for different chips. In particular the mega168 and mega328 fuses are different even thought the devices are pin compatible and very similar in other ways.

I find fuse information very hard to follow in the atmel data sheet (Rev. 8025I–AVR–02/09). The information is not in one place, three devices are covered and having "0" as the "programmed" state confuses me and probably confuses others as well.

The kanda ISP software lets to set the fuses by function instead of hex bytes but unfortunately it does not support the 328.
It also doesn't support my USB pocket programmer - I like use this because it can supply power to the AVR.

Mostly I use AVRDUDE with AVRDUDE-GUI - this need hex bytes for fuses.

Mega328

The four bytes are hfuse ifuse efuse lockbits.
Arduino pro m328 factory fuse settings - DA FF 05 3C
Factory setting for the Uno are D8 FF 05 3F

The settings I use for the m328 pro and pro mini are D2 FF 05 2F
This *should* mean - a 2K byte boot block and resonator (or xtal?). Supply is 5V and clock 16meg.
The brown out detector (BOD) is set to 2.7 volts.

For m328's using internal RC my fuses are D2 D2 05 2F
I'm not sure these settings are correct.



Tiny85

The three bytes are hfuse ifuse efuse (no lockbits).
My fuse settings are DF E2 FF
Clock is internal RC @ 8mhz.

Mega2560

The the 2560 based aurduino mega comes with fuses set to - D0 FF FD 0F

The fuses for xmega 128d3/192D3

USERID = 0xFF
WDWP = 8KCLK
WDP = 8KCLK
DVSDON = [ ]
BOOTRST = BOOTLDR
BODPD = DISABLED
RSTDISBL = [X]
SUT = 0MS
WDLOCK = [X]
BODACT = DISABLED
EESAVE = [X]
BODLVL = 1V6

FUSEBYTE0 = 0xFF (valid)
FUSEBYTE1 = 0xAA (valid)
FUSEBYTE2 = 0xBF (valid)
FUSEBYTE4 = 0xED (valid)
FUSEBYTE5 = 0xF7 (valid)

eddie.

Created by eddie. Last Modification: Saturday 28 of January, 2012 16:27:36 AEDT by eddie.

Main Index

Switch Theme

Shoutbox

System Administrator, 13:56 AEST, Sun 07 of Aug, 2016: upgrading to tiki 15.2
eddie, 19:31 AEST, Sat 06 of Aug, 2016: This website is now served from Brisbane - in a Binarylane cloud.
System Administrator, 16:07 AEDT, Wed 06 of Mar, 2013: More f'n spam. No more anon posting from now on.
Anonymous, 18:44 AEDT, Mon 04 of Mar, 2013: deleted
Anonymous, 08:36 AEDT, Sun 03 of Mar, 2013: Very nice site!

Last-Visited Pages

Online Users

34 online users