ATtiny44A Fuses

Fab ISP

What are the fuses?

There are 3 bytes of permanent storage in the chip called 'fuse low byte', 'fuse high byte' and 'fuse extended byte'. These bytes are called fuses and can be reprogrammed as many times as you want and determines the behaviour of the chip. To do that, their value is not erased when the chip is powered off or reprogrammed.

Each microchip has its own definition for the values that must have the fuses. In this tutorial, we are going to work with the fuses of the Atmel Attiny44A.

Fuses for the Attiny44A

NameDescriptionDefault ValueByteBit rangeDatasheet page
CKDIV8The prescaler feature can be used to change the power consumption when not high performance is required. This feature can be used with any clock source. The prescaler divides the clock frecuency by a defined factor that can be configured using the CLKPS(3...0) register (Datasheet - Table 6-11), being its default value "0011" (divistion factor of 8).0LOW(7)30
CKOUTThis fuse allows us to use the chip clock as a clock source to drive other circuits. Once this bit is programmed, the PIN B2 will output the clock.1LOW(6)30
SUTThis fuses determine the Start-up Times for the external clock selection. This time must be long enough to ensure that the MCU is kept in reset mode while the clock is changing (is not stable). Its default value defines the longest Start-up time.10LOW(5,4)26
CKSELThe AMTEL Attiny44A can use several clock sources. By default, the clock used is the internal 8MHz oscillator. The available configurations can be found in the datasheet, in table 6-1.0010LOW(3...0)25
RSTDISBLWhen programmed (0), the PB3, instead of being used as a reset pin, it can be used as an I/O pin.1HIGH(7)3
DWENThis fuse allows the activation of the 'debug' mode. Once it is programmed, the RESET port is configured as a bidirectional I/O pin with pull-up enabled.1HIGH(6)150
SPIENFuse that enables serial program and data downloading. Once unprogrammed this fuse, in order to reset its value, you will need a 12V programmer.0HIGH(5)159
WDTONA watchdog timer is a mechanism to prevent closed loops and errors in the microchip. It consists on a decreasing counter. If it reaches 0, it generates a timeout signal that triggers an action to restore the system. To avoid this, the program must restart the timer before it times out.1HIGHbit range41
EESAVEIf programmed (0) the EEPROM memory will be preserved through chip erase.1HIGH(4)159
BODLEVELThis fuse controles the Brown-out detector. A Broun-out detector is a circuit that monitors the supply voltage while operating. It compares the supplied voltage to a fixed one. If the supplied voltage decreases blow a fixed one (VBOT-), the Brown-out reset is enabled until the voltage raises above a VBOT+. Then a timer starts; if it times out, the reset is disabled. By default, the Brown-out detector is disabled. In table 20-6 of the Datasheet all the modes are specified.111HIGH(2...0)159 & 176
SELDPRGENThis fuse, if programmed, allows to the device the ability to upload a program to the MCU by itself.1EXTENDED(0)152

As seen, there is just one bit in the Extended byte of the fuses whose value will change the microchip behaviour. The bytes 7...1 should be set with a value of 1.

Fuse Calculator

For using the fuse calculator you need to download this folder (right click on the link and "save as")and open the html inside.

Original tutorial by:

Licensed under a MIT License