ATmega640 Boot Loader
Parameters
In Table 139 through Table 141, the parameters used in the description of the Self-Pro-
gramming are given.
Table 139. Boot Size Configuration, ATmega640(1)
512
words
0x0000 -
0x7DFF
0x7E00 -
0x7FFF
1
1
0
1
0
1
0
4
8
0x7DFF
0x7BFF
0x77FF
0x6FFF
0x7E00
0x7C00
0x7800
0x7000
1024
words
0x0000 -
0x7BFF
0x7C00 -
0x7FFF
2048
words
0x0000 -
0x77FF
0x7800 -
0x7FFF
16
32
4096
words
0x0000 -
0x6FFF
0x7000 -
0x7FFF
0
Note:
1. The different BOOTSZ Fuse configurations are shown in Figure 137.
Table 140. Read-While-Write Limit, ATmega640
Section(1)
Pages
224
Address
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
0x0000 - 0x6FFF
0x7000 - 0x7FFF
32
Note:
1. For details about these two section, see “NRWW – No Read-While-Write Section” on
page 318 and “RWW – Read-While-Write Section” on page 318.
Table 141. Explanation of different variables used in Figure 138 and the mapping to the
Z-pointer, ATmega640
Corresponding
Variable
Z-value(2)
Description(1)
PCMSB
14
Most significant bit in the Program Counter.
(The Program Counter is 15 bits PC[14:0])
330
ATmega640/1280/1281/2560/2561
2549A–AVR–03/05