Datasheet
262
2466T–AVR–07/10
ATmega16(L)
Page Size
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 ATmega16. Pulses are assumed to be at
least 250 ns unless otherwise noted.
Signal Names In this section, some pins of the ATmega16 are referenced by signal names describing their
functionality during parallel programming, see Figure 127 and Table 109. 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 111.
When pulsing WR
or OE, the command loaded determines the action executed. The different
Commands are shown in Table 112.
Figure 127. Parallel Programming
Table 107. No. of Words in a Page and no. of Pages in the Flash
Flash Size Page Size PCWORD No. of Pages PCPAGE PCMSB
8K words (16 Kbytes) 64 words PC[5:0] 128 PC[12:6] 12
Table 108. No. of Words in a Page and no. of Pages in the EEPROM
EEPROM Size Page Size PCWORD No. of Pages PCPAGE EEAMSB
512 bytes 4 bytes EEA[1:0] 128 EEA[8:2] 8
VCC
+5V
GND
XTAL1
PD1
PD2
PD3
PD4
PD5
PD6
PB7 - PB0
DA
T
A
RESET
PD7
+12 V
BS1
XA0
XA1
OE
RDY/BSY
PAGEL
PA0
WR
BS2
AVCC
+5V