ATMEGA16-16AU SL602 Atmel, ATMEGA16-16AU SL602 Datasheet - Page 268

no-image

ATMEGA16-16AU SL602

Manufacturer Part Number
ATMEGA16-16AU SL602
Description
Manufacturer
Atmel
Datasheet
Programming the
EEPROM
2466T–AVR–07/10
Figure 129. Programming the Flash Waveforms
Note:
The EEPROM is organized in pages, see
EEPROM, the program data is latched into a page buffer. This allows one page of data to be
programmed simultaneously. The programming algorithm for the EEPROM data memory is as
follows (refer to
Data loading):
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte ($00 - $FF)
3. B: Load Address Low Byte ($00 - $FF)
4. C: Load Data ($00 - $FF)
5. E: Latch data (give PAGEL a positive pulse)
K: Repeat 3 through 5 until the entire buffer is filled
L: Program EEPROM page
1. Set BS1 to “0”.
2. Give WR a negative pulse. This starts programming of the EEPROM page. RDY/BSY
3. Wait until to RDY/BSY goes high before programming the next page. (See
goes low.
signal waveforms)
RESET +12V
RDY/BSY
1. “XX” is don’t care. The letters refer to the programming description above.
PAGEL
XTAL1
DATA
XA1
XA0
BS1
BS2
WR
OE
“Programming the Flash” on page 266
$10
A
ADDR. LOW
B
DATA LOW
C
DATA HIGH
D
XX
E
ADDR. LOW
Table 108 on page
B
(1)
DATA LOW
C
F
DATA HIGH
for details on Command, Address and
D
XX
E
262. When programming the
ADDR. HIGH
G
ATmega16(L)
H
XX
Figure 130
for
268

Related parts for ATMEGA16-16AU SL602