Signature Bytes; Programming The Flash And Eeprom - Atmel AVR ATtiny10 Series Manual

8-bit microcontroller with 1k bytes flash
Table of Contents

Advertisement

• When the RSTDISBL Fuse is programmed ("0"), the external reset function of pin PB5 is disabled.
unprogrammed ("1"). Programming this fuse while in the Low-Voltage Serial Programming mode will disable future in-
system downloading attempts.
• CKSEL3..0 fuses: See Table 3, "Device Clocking Options Select," on page 6 and Table 9, "ATtiny12 Clock Options and
Start-up Times," on page 19, for which combination of CKSEL3..0 to use. Default value is "0010", internal RC oscillator
with long start-up time.
The status of the fuse bits is not affected by Chip Erase.
Note:
1. If the RSTDISBL Fuse is programmed, then the programming hardware should apply +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.

Signature Bytes

All Atmel microcontrollers have a three-byte signature code which identifies the device. The three bytes reside in a sepa-
rate address space.
For the ATtiny10 they are:
1. $000: $1E (indicates manufactured by Atmel)
2. $001: $90 (indicates 1 Kb QuickFlash memory)
3. $002: $03 (indicates ATtiny10 device when signature byte $001 is $90)
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)
(1)
For the ATtiny12
they are:
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:
1. When both lock bits are programmed (Lock mode 3), the Signature Bytes can not be read in the Low-voltage Serial mode.
Reading the Signature Bytes will return: $00, $01 and $02.
Calibration Byte in ATtiny12
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. To make use of this byte, it should be read from this location and written into the
normal Flash Program memory. At start-up, the user software must read this Flash location and write the value to the
OSCCAL register.

Programming the Flash and EEPROM

ATtiny10/11
Atmel's ATtiny10/11 offers 1K bytes of Flash Program memory.
The ATtiny10/11 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 currents (<1 mA) are drawn from the
+12V pin during programming.
The program memory array in the ATtiny10/11 is programmed byte-by-byte.
ATtiny10/11/12
40
(1)
Default value is

Advertisement

Table of Contents
loading

Table of Contents