
294
8209A–AVR–08/09
ATmega16M1/32M1/64M1
28.6 Page Size
28.7 Parallel Programming Parameters, Pin Mapping, and Commands
This section describes how to parallel program and verify Flash Program memory, EEPROM
Data memory, Memory Lock bits, and Fuse bits in the ATmega16M1/32M1/64M1. Pulses are
assumed to be at least 250 ns unless otherwise noted.
28.7.1 Signal Names
In this section, some pins of the ATmega16M1/32M1/64M1 are referenced by signal names
describing their functionality during parallel programming, see Figure 28-1 and Table 28-11.
Pins not described in the following table are referenced by pin names.
The XA1/XA0 pins determine the action executed when the XTAL1 pin is given a positive pulse.
The bit coding is shown in Table 28-13.
When pulsing WR
or OE, the command loaded determines the action executed. The different
Commands are shown in Table 28-14.
Table 28-9. No. of Words in a Page and No. of Pages in the Flash
Device Flash Size Page Size PCWORD
No. of
Pages PCPAGE PCMSB
ATmega16M1
8K words
(16K bytes)
64 words
(128 bytes)
PC[5:0] 128 PC[12:6] 12
ATmega32M1
16K words
(32K bytes)
64 words
(128 bytes)
PC[5:0] 256 PC[13:6] 13
ATmega64M1
32K words
(64K bytes)
128 words
(256 bytes)
PC[6:0] 256 PC[14:7] 14
Table 28-10. No. of Words in a Page and No. of Pages in the EEPROM
Device
EEPROM
Size
Page
Size PCWORD
No. of
Pages PCPAGE EEAMSB
ATmega16M1 512 bytes 4 bytes EEA[1:0] 128 EEA[8:2] 9
ATmega32M1 1024 bytes 4 bytes EEA[1:0] 256 EEA[9:2] 9
ATmega64M1 2048 bytes 8 bytes EEA[2:0] 256 EEA[9:2] 9
Comentários a estes Manuais