Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
20
Добавлен:
15.03.2016
Размер:
2.11 Mб
Скачать

Table 82. Lock Bit Protection Modes(2) (Continued)

 

Memory Lock bits

 

 

Protection Type

 

 

 

 

 

 

 

 

 

 

 

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

and LPM executing from the Application section is not

 

3

 

0

 

0

 

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LPM executing from the Application section is not allowed

 

4

 

0

 

1

 

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.

 

 

 

 

 

 

 

 

 

Notes: 1. Program the Fuse bits before programming the Lock bits.

 

2. “1” means unprogrammed, “0” means programmed

 

Fuse bits

The ATmega8515 has two Fuse bytes. Table 83 and Table 84 describe briefly the func-

 

tionality 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.

 

 

Table 83. Fuse High Byte

 

 

 

 

 

 

 

 

 

 

Fuse High Byte

Bit no

Description

Default Value

 

 

 

 

 

 

 

 

S8515C

7

 

AT90S4414/8515 compatibility

1 (unprogrammed)

 

 

mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WDTON

6

 

Watchdog Timer always on

1 (unprogrammed)

 

 

 

 

 

 

 

 

SPIEN(1)(2)

5

 

Enable Serial Program and Data

0 (programmed, SPI prog.

 

 

Downloading

enabled)

 

 

 

 

 

 

 

 

 

 

 

 

CKOPT(3)

4

 

Oscillator options

1 (unprogrammed)

 

EESAVE

3

 

EEPROM memory is preserved

1 (unprogrammed,

 

 

through the Chip Erase

EEPROM not preserved)

 

 

 

 

 

 

 

 

 

 

 

 

 

BOOTSZ1

2

 

Select Boot Size (see Table 78 for

0 (programmed)(4)

 

 

details)

 

 

 

 

 

 

BOOTSZ0

1

 

Select Boot Size (see Table 78 for

0 (programmed)(4)

 

 

details)

 

 

 

 

 

 

BOOTRST

0

 

Select Reset Vector

1 (unprogrammed)

 

 

 

 

 

 

 

 

 

Notes: 1. See “AT90S4414/8515 Compatibility Mode” on page 4 for details.

2.The SPIEN Fuse is not accessible in serial programming mode.

3.The CKOPT Fuse functionality depends on the setting of the CKSEL bits. See “Clock Sources” on page 34. for details.

4.The default value of BOOTSZ1..0 results in maximum Boot Size. See Table 78 on page 175.

178 ATmega8515(L)

2512G–AVR–03/05

Соседние файлы в папке компоненты_общие