
496
42073A-MCU Wireless-02/13
ATmega2564/1284/644RFR2
Table 30-6.
the mapping to the Z-pointer for 64 kByte of Flash Memory
Variable
Value
Corresponding
Z-value
(0)
Description
(0)
PCMSB
14
Most significant bit in the Program Counter.
(The Program Counter is 16 bits PC[15:0])
PAGEMSB
6
Most significant bit which is used to address
the words within one page (128 words in a
page requires seven bits PC [6:0]).
ZPCMSB
Z15
Bit in Z-pointer that is mapped to PCMSB.
Because Z0 is not used, the ZPCMSB
equals PCMSB + 1.
ZPAGEMSB
Z7
Bit in Z-pointer that is mapped to PCMSB.
Because Z0 is not used; the ZPAGEMSB
equals PAGEMSB + 1.
PCPAGE
PC[14:7]
Z15:Z8
Program Counter page address: Page
select, for Page Erase and Page Write.
PCWORD
PC[6:0]
Z7:Z1
Program Counter word address: Word
select, for filling temporary buffer (must be
zero during Page Write operation)
Notes:
1. Z0: should be zero for all SPM commands, byte select for the (E)LPM instruction.
about the use of Z-pointer during Self-Programming.
Table 30-7. Boot Size Configuration with 64 kByte of Flash Memory
(0)
B
O
T
S
Z
1
B
O
T
S
Z
0
B
o
t
S
iz
e
P
a
g
e
s
A
p
li
c
a
ti
o
n
F
la
s
h
S
e
c
ti
o
n
B
o
t
L
o
a
d
e
r
F
la
s
h
S
e
c
ti
o
n
E
n
d
A
p
li
c
a
ti
o
n
S
e
c
ti
o
n
B
o
t
R
e
s
e
t
A
d
re
s
(S
ta
rt
B
o
t
L
o
a
d
e
r
S
e
c
ti
o
n
)
1
512
words
4
0x0000 –
0x7DFF
0x7E00 –
0x7FFF
0x7DFF
0x7E00
1
0
1024
words
8
0x0000 –
0x7BFF
0x7C00 –
0x7FFF
0x7BFF
0x7C00
0
1
2048
words
16
0x0000 –
0x77FF
0x7800 –
0x7FFF
0x77FF
0x7800
0
4096
words
32
0x0000 –
0x6FFF
0x7000 –
0x7FFF
0x6FFF
0x7000
Note:
30.6.15 Boot Loader Parameters for 128 kByte of Flash Memory
description of the Self-Programming are given.
Table 30-8. Read-While-Write Limit with 128 kByte of Flash Memory
Section
(0)
Pages
Address
Read-While-Write section (RWW)
480
0x0000 – 0xEFFF