attiny167-esxz ATMEL Corporation, attiny167-esxz Datasheet - Page 224

no-image

attiny167-esxz

Manufacturer Part Number
attiny167-esxz
Description
8-bit Avr 8-bit Microcontroller Microcontroller With 16k Bytes In-system Programmable Flash And Lin Controller
Manufacturer
ATMEL Corporation
Datasheet
21.7.5
224
ATtiny167
Programming the EEPROM
Figure 21-3. 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):
A: Load Command “0001 0001
G: Load Address High Byte (0x00 - 0xFF).
B: Load Address Low Byte (0x00 - 0xFF).
C: Load Data (0x00 - 0xFF).
E: Latch data (give PAGEL a positive pulse).
K: Repeat A through E 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
PAGEL / BS1
RESET +12V
XA1 / BS2
RDY/BSY
goes low.
signal waveforms).
XTAL1
DATA
XA0
WR
OE
1. “XX” is don’t care. The letters refer to the programming description above.
0x10
A
”Programming the Flash” on page 222
ADDR. LOW
B
DATA LOW
C
b
DATA HIGH
”.
D
E
XX
ADDR. LOW
Table 21-8 on page
B
DATA LOW
(1)
C
F
DATA HIGH
for details on Command, Address and
D
XX
E
219. When programming the
ADDR. HIGH
G
H
Figure 21-4
XX
7728A–AUTO–07/08
for

Related parts for attiny167-esxz