ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 306

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
28.7.6
28.7.7
28.7.8
28.7.9
28.7.10
306
Atmel ATmega48PA/88PA/168PA [Preliminary]
Reading the Flash
Reading the EEPROM
Programming the Fuse Low Bits
Programming the Fuse High Bits
Programming the Extended Fuse Bits
The algorithm for reading the Flash memory is as follows (refer to
page 302
The algorithm for reading the EEPROM memory is as follows (refer to
Flash” on page 302
The algorithm for programming the Fuse Low bits is as follows (refer to
Flash” on page 302
The algorithm for programming the Fuse High bits is as follows (refer to
Flash” on page 302
The algorithm for programming the Extended Fuse bits is as follows (refer to
the Flash” on page 302
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”.
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”.
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.
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. Set BS1 to “1” and BS2 to “0”. This selects high data byte.
4. Give WR a negative pulse and wait for RDY/BSY to go high.
5. Set BS1 to “0”. This selects low data byte.
1. 1. A: Load Command “0100 0000”.
2. 2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. 3. Set BS1 to “0” and BS2 to “1”. This selects extended data byte.
4. 4. Give WR a negative pulse and wait for RDY/BSY to go high.
5. 5. Set BS2 to “0”. This selects low data byte.
for details on Command and Address loading):
for details on Command and Address loading):
for details on Command and Data loading):
for details on Command and Data loading):
for details on Command and Data loading):
“Programming the Flash” on
“Programming the
“Programming the
“Programming the
“Programming
9223B–AVR–09/11

Related parts for ATmega88PA Automotive