Datasheet
186
ATmega323(L)
1457E–11/01
H. Program Page
1. Give WR a negative pulse. This starts programming of the entire page of
data. RDY/BSY
goes low.
2. Wait until RDY/BSY goes high.
(See Figure 95 for signal waveforms)
I. End Page Programming
1. 1. Set XA1, XA0 to “10”. This enables command loading.
2. Set DATA to “0000 0000”. This is the command for No Operation.
3. Give XTAL1 a positive pulse. This loads the command, and the internal write
signals are reset.
J. Repeat A through I 256 Times or Until All Data Has Been Programmed.
Figure 94. Programming the Flash Waveforms
Figure 95. Programming the Flash Waveforms (continued)
$10 ADDR. LOW ADDR. HIGH DATA LOWDATA
XA1
XA2
BS1
XTAL1
RDY/BSY
RESET
WR
OE
+12V
BS2
PAGEL
DA TA HIGH
DATA
XA1
XA0
BS1
XTAL1
WR
RDY/BSY
RESET
+12V
OE
BS2
PAGEL