EasyManuals Logo

Atmel ATtiny85 User Manual

Atmel ATtiny85
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #146 background imageLoading...
Page #146 background image
146
7598H–AVR–07/09
ATtiny25/45/85
21.8.5 Programming the EEPROM
The EEPROM is organized in pages, see Table 21-11 on page 142. When programming the
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 Table 21-16):
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-
ming” cycle to finish.
4. Repeat 2 through 3 until the entire EEPROM is programmed or until all data has been
programmed.
5. End Page Programming by Loading Command “No Operation”.
21.8.6 Reading the Flash
The algorithm for reading the Flash memory is as follows (refer to Table 21-16):
1. Load Command "Read Flash".
2. Read Flash Low and High Bytes. The contents at the selected address are available at
serial output SDO.
21.8.7 Reading the EEPROM
The algorithm for reading the EEPROM memory is as follows (refer to Table 21-16):
1. Load Command “Read EEPROM”.
2. Read EEPROM Byte. The contents at the selected address are available at serial out-
put SDO.
21.8.8 Programming and Reading the Fuse and Lock Bits
The algorithms for programming and reading the Fuse Low/High bits and Lock bits are shown in
Table 21-16.
21.8.9 Reading the Signature Bytes and Calibration Byte
The algorithms for reading the Signature bytes and Calibration byte are shown in Table 21-16.
21.8.10 Power-off sequence
Set SCI to “0”. Set RESET to “1”. Turn V
CC
power off.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel ATtiny85 and is the answer not in the manual?

Atmel ATtiny85 Specifications

General IconGeneral
BrandAtmel
ModelATtiny85
CategoryMicrocontrollers
LanguageEnglish

Related product manuals