attiny25v ATMEL Corporation, attiny25v Datasheet - Page 162

no-image

attiny25v

Manufacturer Part Number
attiny25v
Description
Microcontroller With 2/4/8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL
Quantity:
1 650
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
29 497
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
5 000
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL
Quantity:
2 110
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-15ST
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Figure 20-5. High-voltage Serial Programming Waveforms
20.7.5
20.7.6
20.7.7
20.7.8
20.7.9
20.7.10
162
SDO
PB0
PB1
PB2
PB3
SDI
SCI
SII
ATtiny25/45/85
Programming the EEPROM
Reading the Flash
Reading the EEPROM
Programming and Reading the Fuse and Lock Bits
Reading the Signature Bytes and Calibration Byte
Power-off sequence
0
MSB
MSB
MSB
1
The EEPROM is organized in pages, see
EEPROM, the data is latched into a page buffer. This allows one page of data to be pro-
grammed simultaneously. The programming algorithm for the EEPROM Data memory is as
follows (refer to
The algorithm for reading the Flash memory is as follows (refer to
The algorithm for reading the EEPROM memory is as follows (refer to
The algorithms for programming and reading the Fuse Low/High bits and Lock bits are shown in
Table
The algorithms for reading the Signature bytes and Calibration byte are shown in
Set SCI to “0”. Set RESET to “1”. Turn V
1. Load Command “Write EEPROM”.
2. Load EEPROM Page Buffer.
3. Program EEPROM Page. Wait after Instr. 2 until SDO goes high for the “Page Program-
4. Repeat 2 through 3 until the entire EEPROM is programmed or until all data has been
5. End Page Programming by Loading Command “No Operation”.
1. Load Command "Read Flash".
2. Read Flash Low and High Bytes. The contents at the selected address are available at
1. Load Command “Read EEPROM”.
2. Read EEPROM Byte. The contents at the selected address are available at serial out-
ming” cycle to finish.
programmed.
serial output SDO.
put SDO.
20-16.
2
Table
3
20-16):
4
5
CC
6
power off.
Table 21-10 on page
7
LSB
LSB
LSB
8
174. When programming the
Table
9
Table
20-16):
10
20-16):
Table
2586K–AVR–01/08
20-16.

Related parts for attiny25v