ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 307

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
Figure 28-5. Programming the FUSES Waveforms
28.7.11
28.7.12
9223B–AVR–09/11
RESET +12V
RDY/BSY
Programming the Lock Bits
Reading the Fuse and Lock Bits
PAGEL
XTAL1
DATA
BS2
XA1
XA0
BS1
WR
OE
0x40
A
DATA
The algorithm for programming the Lock bits is as follows (refer to
page 302
The Lock bits can only be cleared by executing Chip Erase.
The algorithm for reading the Fuse and Lock bits is as follows (refer to
Flash” on page 302
C
1. A: Load Command “0010 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs the Lock bit. If LB mode 3 is pro-
3. Give WR a negative pulse and wait for RDY/BSY to go high.
1. A: Load Command “0000 0100”.
2. Set OE to “0”, BS2 to “0” and BS1 to “0”. The status of the Fuse Low bits can now be
3. Set OE to “0”, BS2 to “1” and BS1 to “1”. The status of the Fuse High bits can now be
4. Set OE to “0”, BS2 to “1”, and BS1 to “0”. The status of the Extended Fuse bits can
5. Set OE to “0”, BS2 to “0” and BS1 to “1”. The status of the Lock bits can now be read
6. Set OE to “1”.
Atmel ATmega48PA/88PA/168PA [Preliminary]
Write Fuse Low byte
grammed (LB1 and LB2 is programmed), it is not possible to program the Boot Lock
bits by any External Programming mode.
read at DATA (“0” means programmed).
read at DATA (“0” means programmed).
now be read at DATA (“0” means programmed).
at DATA (“0” means programmed).
XX
for details on Command and Data loading):
for details on Command loading):
0x40
A
DATA
C
Write Fuse high byte
XX
0x40
A
DATA
C
“Programming the Flash” on
Write Extended Fuse byte
XX
“Programming the
307

Related parts for ATmega88PA Automotive