ATMEGA163 ATMEL [ATMEL Corporation], ATMEGA163 Datasheet - Page 149

no-image

ATMEGA163

Manufacturer Part Number
ATMEGA163
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA163-8AC
Manufacturer:
ATMEL
Quantity:
1 600
Part Number:
ATMEGA163-8AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA163L-4AI
Manufacturer:
ATMEL
Quantity:
984
Programming the EEPROM
1142E–AVR–02/03
Figure 83. Programming the Flash Waveforms (continued)
The programming algorithm for the EEPROM Data Memory is as follows (refer to “Pro-
gramming the Flash” on page 147 for details on Command, Address and Data loading):
1. A: Load Command “0001 0001”.
2. H: Load Address High Byte ($00 - $01)
3. B: Load Address Low Byte ($00 - $FF)
4. E: Load Data Low Byte ($00 - $FF)
L: Write Data Low Byte
The loaded command and address are retained in the device during programming. For
efficient programming, the following should be considered.
These considerations also applies to Flash, EEPROM and Signature bytes reading.
RDY/BSY
1. Set BS to “0”. This selects low data.
2. Give WR a negative pulse. This starts programming of the data byte.
3. Wait until to RDY/BSY goes high before programming the next byte.
The command needs only be loaded once when writing or reading multiple memory
locations.
Address high byte needs only be loaded before programming a new 256 word page
in the EEPROM.
Skip writing the data value $FF, that is the contents of the entire EEPROM after a
Chip Erase.
RESET
PAGEL
XTAL1
DATA
XA1
XA0
BS1
BS2
WR
OE
RDY/BSY goes low.
(See Figure 84 for signal waveforms)
+12V
DATA HIGH
ATmega163(L)
149

Related parts for ATMEGA163