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

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.6
21.7.7
21.7.8
21.7.9
7728A–AUTO–07/08
Reading the Flash
Reading the EEPROM
Programming the Fuse Low Bits
Programming the Fuse High Bits
Figure 21-4. Programming the EEPROM Waveforms
The algorithm for reading the Flash memory is as follows (refer to
page 222
1. A: Load Command “0000 0010
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. Set OE to “0”, and BS1 to “0”. The Flash word low byte can now be read at DATA.
5. Set BS1 to “1”. The Flash word high byte can now be read at DATA.
6. Set OE to “1”.
The algorithm for reading the EEPROM memory is as follows (refer to
on page 222
1. A: Load Command “0000 0011
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. Set OE to “0”, and BS1 to “0”. The EEPROM Data byte can now be read at DATA.
5. Set OE to “1”.
The algorithm for programming the Fuse Low bits is as follows (refer to
on page 222
1. A: Load Command “0100 0000
2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. Give WR a negative pulse and wait for RDY/BSY to go high.
The algorithm for programming the Fuse High bits is as follows (refer to
Flash” on page 222
PAGEL / BS1
RESET +12V
XA1 / BS2
RDY/BSY
XTAL1
DATA
XA0
WR
OE
for details on Command and Address loading):
for details on Command and Address loading):
for details on Command and Data loading):
0x11
A
for details on Command and Data loading):
ADDR. HIGH
G
ADDR. LOW
B
b
b
b
”.
”.
”.
DATA
C
XX
E
ADDR. LOW
B
DATA
C
K
XX
E
”Programming the Flash” on
”Programming the Flash”
”Programming the Flash”
L
ATtiny167
”Programming the
225

Related parts for attiny167-esxz