ATTINY12 ATMEL Corporation, ATTINY12 Datasheet - Page 46

no-image

ATTINY12

Manufacturer Part Number
ATTINY12
Description
8-bit AVR Microcontroller with 1K Byte Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY12-8PC
Manufacturer:
ATM
Quantity:
27 705
Part Number:
ATTINY12-8PC
Manufacturer:
AD
Quantity:
56
Part Number:
ATTINY12-8PC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY12-8SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY12-8SI
Manufacturer:
ATMEL
Quantity:
1 729
Part Number:
ATTINY12-8SU
Manufacturer:
ATMEL
Quantity:
5
Part Number:
ATTINY128SC
Manufacturer:
ATMEL
Quantity:
7 373
Company:
Part Number:
ATTINY12L-4PC
Quantity:
50
Part Number:
ATTINY12L-4SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY12L-4SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATTINY12V-1SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Memory
Programming
Program (and Data)
Memory Lock Bits
Fuse Bits in ATtiny11
Fuse Bits in ATtiny12
46
ATtiny11/12
The ATtiny11/12 MCU provides two lock bits which can be left unprogrammed (“1”) or
can be programmed (“0”) to obtain the additional features listed in Table 21. The lock
bits can only be erased with the Chip Erase command
Table 21. Lock Bit Protection Modes
Note:
The ATtiny11 has five fuse bits, FSTRT, RSTDISBL and CKSEL2..0.
The status of the fuse bits is not affected by Chip Erase.
Note:
The ATtiny12 has eight fuse bits, BODLEVEL, BODEN, SPIEN, RSTDISBL and
CKSEL3..0. All the fuse bits are programmable in both High-voltage and Low-voltage
Serial programming modes. Changing the fuses does not have any effect while in pro-
gramming mode.
Mode
Memory Lock Bits
1
2
3
FSTRT: See Table 7, “Start-up Times for the ATtiny11 (V
which value to use. Default value is unprogrammed (“1”).
When RSTDISBL is programmed (“0”), the external reset function of pin PB5 is
disabled.
CKSEL2..0: See Table 3, “Device Clocking Options Select,” on page 5, for which
combination of CKSEL2..0 to use. Default value is “100”, internal RC oscillator.
The BODLEVEL Fuse selects the Brown-out Detection level and changes the start-
up times. See “Brown-out Detection (ATtiny12)” on page 22. See Table 9, “ATtiny12
Clock Options and Start-up Times,” on page 20. Default value is programmed (“0”).
When the BODEN Fuse is programmed (“0”), the Brown-out Detector is enabled.
See “Brown-out Detection (ATtiny12)” on page 22. Default value is unprogrammed
(“1”).
When the SPIEN Fuse bit is programmed (“0”), Low-Voltage Serial Program and
Data Downloading is enabled. Default value is programmed (“0”). Unprogramming
this fuse while in the Low-Voltage Serial Programming mode will disable future in-
system downloading attempts.
When the RSTDISBL Fuse is programmed (“0”), the external reset function of pin
PB5 is disabled.
while in the Low-Voltage Serial Programming mode will disable future in-system
downloading attempts.
1. In the High-voltage Serial Programming mode, further programming of the fuse bits
1. If the RSTDISBL Fuse is programmed, then the programming hardware should apply
LB1
1
0
0
are also disabled. Program the fuse bits before programming the lock bits.
+12V to PB5 while the ATtiny11 is in Power-on Reset. If not, the part can fail to enter
programming mode caused by drive contention on PB0.
(1)
Default value is unprogrammed (“1”).
LB2
1
1
0
(1)
Protection Type
No memory lock features enabled.
Further programming of the Flash (and EEPROM for ATtiny12) is
disabled.
Same as mode 2, and verify is also disabled.
Default value is unprogrammed (“1”). Programming this fuse
(1)
.
CC
= 2.7V),” on page 18 for
1006D–AVR–07/03

Related parts for ATTINY12