TINY12 ATMEL [ATMEL Corporation], TINY12 Datasheet - Page 47

no-image

TINY12

Manufacturer Part Number
TINY12
Description
8-bit AVR Microcontroller with 1K Byte Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TINY12-8SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
TINY12L
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
TINY12L
Manufacturer:
NS
Quantity:
5 510
Signature Bytes
Calibration Byte in
ATtiny12
Programming the Flash
and EEPROM
ATtiny11
ATtiny12
1006D–AVR–07/03
The status of the fuse bits is not affected by Chip Erase.
Note:
All Atmel microcontrollers have a three-byte signature code which identifies the device.
The three bytes reside in a separate address space.
For the ATtiny11 they are:
1. $000: $1E (indicates manufactured by Atmel)
2. $001: $90 (indicates 1 Kb Flash memory)
3. $002: $04 (indicates ATtiny11 device when signature byte $001 is $90)
For the ATtiny12
1. $000: $1E (indicates manufactured by Atmel)
2. $001: $90 (indicates 1 Kb Flash memory)
3. $002: $05 (indicates ATtiny12 device when signature byte $001 is $90)
Note:
The ATtiny12 has a one-byte calibration value for the internal RC oscillator. This byte
resides in the high byte of address $000 in the signature address space. During memory
programming, the external programmer must read this location and program its value
into a selected location in the normal Flash Program memory. At start-up, the user soft-
ware must read this Flash location and write the value to the OSCCAL register.
Atmel’s ATtiny11 offers 1K bytes of Flash Program memory.
The ATtiny11 is shipped with the on-chip Flash Program memory array in the erased
state (i.e., contents = $FF) and ready to be programmed.
This device supports a High-voltage (12V) Serial programming mode. Only minor cur-
rents (<1 mA) are drawn from the +12V pin during programming.
The program memory array in the ATtiny11 is programmed byte-by-byte.
Atmel’s ATtiny12 offers 1K bytes of in-system reprogrammable Flash Program memory
and 64 bytes of in-system reprogrammable EEPROM Data memory.
The ATtiny12 is shipped with the on-chip Flash Program and EEPROM Data memory
arrays in the erased state (i.e., contents = $FF) and ready to be programmed.
This device supports a high-voltage (12V) serial programming mode and a low-voltage
serial programming mode. The +12V is used for programming enable only, and no cur-
rent of significance is drawn by this pin. The Low-voltage Serial Programming mode
CKSEL3..0 fuses: See Table 3, “Device Clocking Options Select,” on page 5 and
Table 9, “ATtiny12 Clock Options and Start-up Times,” on page 20, for which
combination of CKSEL3..0 to use. Default value is “0010”, internal RC oscillator with
long start-up time.
1. If the RSTDISBL Fuse is programmed, then the programming hardware should apply
1. When both lock bits are programmed (Lock mode 3), the Signature Bytes can not be
+12V to PB5 while the ATtiny12 is in Power-on Reset. If not, the part can fail to enter
programming mode caused by drive contention on PB0 and/or PB5.
read in the Low-voltage Serial mode. Reading the Signature Bytes will return: $00,
$01 and $02.
(1)
they are:
ATtiny11/12
47

Related parts for TINY12