at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 247

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
22. Memory Programming
22.1
7734M–AVR–03/10
Program And Data Memory Lock Bits
For details about these two section, see
“RWW – Read-While-Write Section” on page 234
Table 21-9.
Note:
The AT90PWM81 provides six Lock bits which can be left unprogrammed (“1”) or can be programmed
(“0”) to obtain the additional features listed in
the Chip Erase command.
Table 22-1.
Variable
PCMSB
PAGEMSB
ZPCMSB
ZPAGEMSB
PCPAGE
PCWORD
BLB12
BLB11
BLB02
BLB01
LB2
LB1
Lock Bit Byte
1. Z15:Z13: always ignored
Z0: should be zero for all SPM commands, byte select for the LPM instruction.
See
pointer during Self-Programming.
Explanation of Different Variables used in
Lock Bit Byte
“Addressing the Flash During Self-Programming” on page 239
PC[11:5]
PC[4:0]
11
4
(1)
Corresponding
Bit No
Z-value
7
6
5
4
3
2
1
0
Z12:Z6
Z5:Z1
Z12
Z5
“NRWW – No Read-While-Write Section” on page 234
(1)
Description
Boot Lock bit
Boot Lock bit
Boot Lock bit
Boot Lock bit
Lock bit
Lock bit
Table
Description
Most significant bit in the Program Counter. (The
Program Counter is 12 bits PC[11:0])
Most significant bit which is used to address the words
within one page (32 words in a page requires 5 bits PC
[4:0]).
Bit in Z-register that is mapped to PCMSB. Because Z0 is
not used, the ZPCMSB equals PCMSB + 1.
Bit in Z-register that is mapped to PAGEMSB. Because
Z0 is not used, the ZPAGEMSB equals PAGEMSB + 1.
Program counter page address: Page select, for page erase
and page write
Program counter word address: Word select, for filling
temporary buffer (must be zero during page write
operation)
22-2. The Lock bits can only be erased to “1” with
Figure 21-3
Default Value
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
and the Mapping to the Z-pointer
for details about the use of Z-
AT90PWM81
and
247

Related parts for at90pwm81-16se