Datasheet

164
2586D–AVR–02/06
ATtiny25/45/85
Note: a = address high bits, b = address low bits, d = data in high bits, e = data in low bits, p = data out high bits, q = data out low bits,
x = don’t care, 1 = Lock Bit1, 2 = Lock Bit2, 3 = CKSEL0 Fuse, 4 = CKSEL1 Fuse, 5 = SUT0 Fuse, 6 = SUT1 Fuse, 7 = CKDIV8,
Fuse, 8 = WDTON Fuse, 9 = EESAVE Fuse, A = SPIEN Fuse, B = RSTDISBL Fuse, C = BODLEVEL0 Fuse, D= BODLEVEL1
Fuse, E = MONEN Fuse, F = SPMEN Fuse
Notes: 1. For page sizes less than 256 words, parts of the address (bbbb_bbbb) will be parts of the page address.
2. For page sizes less than 256 bytes, parts of the address (bbbb_bbbb) will be parts of the page address.
3. The EEPROM is written page-wise. But only the bytes that are loaded into the page are actually written to the EEPROM.
Page-wise EEPROM access is more efficient when multiple bytes are to be written to the same page. Note that auto-erase
of EEPROM is not available in High-voltage Serial Programming, only in SPI Programming.
23.9 High-voltage Serial Programming Characteristics
Figure 23-8. High-voltage Serial Programming Timing
Read
Signature
Bytes
SDI
SII
SDO
0_0000_1000_00
0_0100_1100_00
x_xxxx_xxxx_xx
0_0000_00bb_00
0_0000_1100_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_1000_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0110_1100_00
q_qqqq_qqqx_xx
Repeats Instr 2 4 for each
signature byte address.
Read
Calibration
Byte
SDI
SII
SDO
0_0000_1000_00
0_0100_1100_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0000_1100_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0111_1000_00
x_xxxx_xxxx_xx
0_0000_0000_00
0_0111_1100_00
p_pppp_pppx_xx
Load “No
Operation”
Command
SDI
SII
SDO
0_0000_0000_00
0_0100_1100_00
x_xxxx_xxxx_xx
Table 23-15. High-voltage Serial Programming Instruction Set for ATtiny25/45/85 (Continued)
Instruction
Instruction Format
Operation RemarksInstr.1/5 Instr.2/6 Instr.3 Instr.4
Table 23-16. High-voltage Serial Programming Characteristics T
A
= 25°C ± 10%, V
CC
= 5.0V ±
10% (Unless otherwise noted)
Symbol Parameter Min Typ Max Units
t
SHSL
SCI (PB3) Pulse Width High 110 ns
t
SLSH
SCI (PB3) Pulse Width Low 110 ns
t
IVSH
SDI (PB0), SII (PB1) Valid to SCI (PB3) High 50 ns
t
SHIX
SDI (PB0), SII (PB1) Hold after SCI (PB3) High 50 ns
t
SHOV
SCI (PB3) High to SDO (PB2) Valid 16 ns
t
WLWH_PFB
Wait after Instr. 3 for Write Fuse Bits 2.5 ms
CK
CC