ATTINY25-20SSNR Atmel, ATTINY25-20SSNR Datasheet - Page 147
![IC MCU AVR 2KB FLASH 20MHZ 8SOIC](/photos/18/29/182913/8-soic_sml.jpg)
ATTINY25-20SSNR
Manufacturer Part Number
ATTINY25-20SSNR
Description
IC MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY25-20SSNR
Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (0.154", 3.90mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 147 of 236
- Download datasheet (5Mb)
19.5
19.6
19.6.1
19.6.2
2586M–AVR–07/10
EEPROM Write Prevents Writing to SPMCSR
Reading Lock, Fuse and Signature Data from Software
Reading Lock Bits from Firmware
Reading Fuse Bits from Firmware
Note that an EEPROM write operation will block all software programming to Flash. Reading the
Fuses and Lock bits from software will also be prevented during the EEPROM write operation. It
is recommended that the user checks the status bit (EEPE) in the EECR Register and verifies
that the bit is cleared before writing to the SPMCSR Register.
It is possible to read fuse and lock bits from firmware. In addition, firmware can also read data
from the device signature imprint table (see
Note:
Issuing an LPM instruction within three CPU cycles after RFLB and SELFPRGEN bits have
been set in SPMCSR will return lock bit values in the destination register. The RFLB and SELF-
PRGEN bits automatically clear upon completion of reading the lock bits, or if no LPM instruction
is executed within three CPU cycles, or if no SPM instruction is executed within four CPU cycles.
When RFLB and SELFPRGEN are cleared LPM functions normally.
To read the lock bits, follow the below procedure:
If successful, the contents of the destination register are as follows.
See section
The algorithm for reading fuse bytes is similar to the one described above for reading lock bits,
only the addresses are different. To read the Fuse Low Byte (FLB), follow the below procedure:
If successful, the contents of the destination register are as follows.
Refer to
Bit
Rd
Bit
Rd
1. Load the Z-pointer with 0x0001.
2. Set RFLB and SELFPRGEN bits in SPMCSR.
3. Issue an LPM instruction within three clock cycles.
4. Read the lock bits from the LPM destination register.
1. Load the Z-pointer with 0x0000.
2. Set RFLB and SELFPRGEN bits in SPMCSR.
3. Issue an LPM instruction within three clock cycles.
4. Read the FLB from the LPM destination register.
Fuse and Lock bits that are programmed, will be read as zero. Fuse and Lock bits that are unpro-
grammed, will be read as one.
Table 20-5 on page 153
“Program And Data Memory Lock Bits” on page 151
FLB7
7
–
7
FLB6
6
–
6
for a detailed description and mapping of the Fuse Low Byte.
FLB5
5
–
5
FLB4
page
4
–
4
153).
FLB3
3
–
3
FLB2
2
–
2
for more information.
FLB1
LB2
1
1
FLB0
LB1
0
0
147
Related parts for ATTINY25-20SSNR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny25](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny25 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY25-20MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20PU](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 20MHZ 8-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20SU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 20MHZ 8-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-15MZ](/photos/30/99/309923/qfn-20_tmb.jpg)
Part Number:
Description:
MCU AVR 2K FLASH 15MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20MF](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU AVR 16KB FL 512B EE 1KB SRAM 10 MHZ GRN
Manufacturer:
Atmel
![ATTINY25-20MFR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU AVR 16KB FL 512B EE 1KB SRAM 10 MHZ GRN
Manufacturer:
Atmel
![ATTINY25-20SSU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 2K ISP FLASH 2.7V 8-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20SSN](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20SH](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20SSH](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20SUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25-20MUR](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 20MHZ 20QFN
Manufacturer:
Atmel
Datasheet: