ATMEGA48V_11 ATMEL [ATMEL Corporation], ATMEGA48V_11 Datasheet - Page 296

no-image

ATMEGA48V_11

Manufacturer Part Number
ATMEGA48V_11
Description
8-bit Atmel Microcontroller with 4/8/16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
28.7.8
28.7.9
28.7.10
2545T–AVR–05/11
Programming the fuse low bits
Programming the fuse high bits
Programming the extended fuse bits
The algorithm for programming the Fuse Low bits is as follows (refer to
on page 292
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
on page 292
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.
The algorithm for programming the Extended Fuse bits is as follows (refer to
flash” on page 292
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.
Figure 28-5. Programming the FUSES waveforms.
RESET +12V
RDY/BSY
PAGEL
XTAL1
DATA
BS2
XA1
XA0
BS1
WR
OE
for details on Command and Data loading):
for details on Command and Data loading):
0x40
A
for details on Command and Data loading):
DATA
C
Write fuse low byte
XX
0x40
A
DATA
C
Write fuse high byte
XX
ATmega48/88/168
0x40
A
“Programming the flash”
“Programming the flash”
DATA
C
“Programming the
Write extended fuse byte
XX
296

Related parts for ATMEGA48V_11