beautypg.com

Fuse bits, Modes, Atmega162/v – Rainbow Electronics ATmega162V User Manual

Page 231

background image

231

ATmega162/V

2513E–AVR–09/03

Notes:

1. Program the Fuse bits and Boot Lock bits before programming the LB1 and LB2.
2. “1” means unprogrammed, “0” means programmed

Fuse Bits

The ATmega162 has three Fuse bytes. Table 100 and Table 101 describe briefly the
functionality of all the fuses and how they are mapped into the Fuse bytes. Note that the
fuses are read as logical zero, “0”, if they are programmed.

Notes:

1. See “ATmega161 Compatibility Mode” on page 5 for details.
2. See Table 19 on page 49 for BODLEVEL Fuse decoding.

BLB1 Mode

BLB12

BLB11

1

1

1

No restrictions for SPM or LPM accessing the Boot Loader
section.

2

1

0

SPM is not allowed to write to the Boot Loader section.

3

0

0

SPM is not allowed to write to the Boot Loader section,
and LPM executing from the Application section is not
allowed to read from the Boot Loader section. If Interrupt
Vectors are placed in the Application section, interrupts
are disabled while executing from the Boot Loader section.

4

0

1

LPM executing from the Application section is not allowed
to read from the Boot Loader section. If Interrupt Vectors
are placed in the Application section, interrupts are
disabled while executing from the Boot Loader section.

Table 98. Lock Bit Protection Modes

(1)(2)

(Continued)

Memory Lock Bits

Protection Type

Table 99. Extended Fuse Byte

(1)(2)

Fuse Low Byte

Bit no

Description

Default Value

7

1

6

1

5

1

M161C

4

ATmega161 compatibility
mode

1 (unprogrammed)

BODLEVEL2

(2)

3

Brown-out Detector
trigger level

1 (unprogrammed)

BODLEVEL1

(2)

2

Brown-out Detector
trigger level

1 (unprogrammed)

BODLEVEL0

(2)

1

Brown-out Detector
trigger level

1 (unprogrammed)

0

1