atmega323l ATMEL Corporation, atmega323l Datasheet - Page 192

no-image

atmega323l

Manufacturer Part Number
atmega323l
Description
Atmega323 8-bit Avr Microcontroller With 32k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Programming the EEPROM
192
ATmega323(L)
Figure 94. Programming the Flash Waveforms
Figure 95. Programming the Flash Waveforms (continued)
The programming algorithm for the EEPROM Data memory is as follows (refer to “Pro-
gramming the Flash” on page 190 for details on Command, Address and Data loading):
1. A: Load Command “0001 0001”.
2. H: Load Address High Byte ($00 - $03)
3. B: Load Address Low Byte ($00 - $FF)
4. C: Load Data Low Byte ($00 - $FF)
K: Write Data Low Byte
1. Set BS1 to “0”. This selects low data.
2. Give WR a negative pulse. This starts programming of the data byte. RDY/BSY
RDY/BSY
RESET
PAGEL
XTAL1
DATA
goes low.
XA1
XA2
BS1
BS2
WR
OE
RDY/BSY
RESET
PAGEL
XTAL1
DATA
+12V
XA1
XA0
BS1
BS2
WR
OE
+12V
$10
DA TA HIGH
ADDR. LOW
ADDR. HIGH
DATA LOW
1457G–AVR–09/03

Related parts for atmega323l