atmega103 ATMEL Corporation, atmega103 Datasheet - Page 111

no-image

atmega103

Manufacturer Part Number
atmega103
Description
Atmega103 8-bit With 128k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega103-6AC
Manufacturer:
ATMEL
Quantity:
1
Part Number:
atmega103-6AI
Manufacturer:
ATMEL
Quantity:
586
Part Number:
atmega103-6AI
Manufacturer:
Atmel
Quantity:
10 000
Programming the Lock Bits
Reading the Fuse and Lock
Bits
Reading the Signature Bytes
0945I–AVR–02/07
3. Give WR a
The algorithm for programming the Lock bits is as follows (refer to “Programming the
Flash” on page 107 for details on command and data loading):
1. A: Load Command “0010 0000”.
2. D: Load Data Low Byte. Bit n = “0” programs the Lock bit.
3. L: Write Data Low Byte.
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 107 for details on command loading):
1. A: Load Command “0000 0100”.
2. Set OE to “0”, and BS to “0”. The status of the Fuse bits can now be read at
3. Set OE to “1”.
The algorithm for reading the signature bytes is as follows (refer to “Programming the
Flash” on page 107 for details on command and address loading):
1. A: Load Command “0000 1000”.
2. C: Load Address Low Byte ($00 - $02).
3. Set OE to “1”.
Bit 1 = SUT1 Fuse bit
Bit 0 = SUT0 Fuse bit
Bit 7, 6, 4, 2 = “1”. These bits are reserved and should be left unprogrammed (“1”).
found in Table 41. Programming the Fuse bits does not generate any activity on
the RDY/BSY pin.
Bit 2 = Lock Bit2
Bit 1 = Lock Bit1
Bit 7 - 3, 0 = “1”. These bits are reserved and should be left unprogrammed (“1”).
DATA (“0” means programmed).
Bit 5 = SPIEN Fuse bit
Bit 3 = EESAVE Fuse bit
Bit 1 = SUT1 Fuse bit
Bit 0 = SUT0 Fuse bit
Set OE to “0”, and BS to “1”. The status of the Lock bits can now be read at DATA
(“0” means programmed).
Bit 2 = Lock Bit2
Bit 1 = Lock Bit1
Set OE to “0”, and BS to “0”. The selected signature byte can now be read at DATA.
t
WLWH_PFB
wide negative pulse to execute the programming.
ATmega103(L)
t
WLWH_PFB
is
111

Related parts for atmega103