ATTINY26L8SU SL383 Atmel, ATTINY26L8SU SL383 Datasheet - Page 119

no-image

ATTINY26L8SU SL383

Manufacturer Part Number
ATTINY26L8SU SL383
Description
MCU 8-Bit ATtiny AVR RISC 2KB Flash 3.3V/5V 20-Pin SOIC T/R
Manufacturer
Atmel
Datasheet
Programming the Fuse High
Bits
Programming the Lock Bits
Reading the Fuse and Lock
Bits
1477J–AVR–06/07
The algorithm for programming the Fuse high bits is as follows (refer to “Programming
the Flash” on page 115 for details on Command and Data loading):
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.
Figure 62. Programming the Fuse Waveforms
The algorithm for programming the Lock bits is as follows (refer to “Programming the
Flash” on page 115 for details on Command and Data loading):
1. A: Load Command “0010 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs the Lock bit.
3. Give WR a negative pulse and wait for RDY/BSY to go high.
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 “Programming
the Flash” on page 115 for details on Command loading):
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
3. Set OE to “0”, BS2 to “1”, and BS1 to “1”. The status of the Fuse High bits can
4. Set OE to “0”, BS2 to “0”, and BS1 to “1”. The status of the Lock bits can now be
5. Set OE to “1”.
RESET +12V
PAGEL/BS1
RDY/BSY
now be read at DATA (“0” means programmed).
now be read at DATA (“0” means programmed).
read at DATA (“0” means programmed).
XA1/BS2
XTAL1
DATA
XA0
WR
OE
$40
A
DATA
C
XX
Write Fuse Low Byte
$40
A
DATA
C
ATtiny26(L)
XX
Write Fuse High Byte
119

Related parts for ATTINY26L8SU SL383