TINY12 ATMEL [ATMEL Corporation], TINY12 Datasheet - Page 50

no-image

TINY12

Manufacturer Part Number
TINY12
Description
8-bit AVR Microcontroller with 1K Byte Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TINY12-8SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
TINY12L
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
TINY12L
Manufacturer:
NS
Quantity:
5 510
Figure 28. High-voltage Serial Programming Waveforms
Table 23. High-voltage Serial Programming Instruction Set for ATtiny11/12
50
Instruction
Chip Erase
Write Flash
High and Low
Address
Write Flash Low
byte
Write Flash
High byte
Read Flash
High and Low
Address
Read Flash
Low byte
Read Flash
High byte
Write EEPROM
Low Address
(ATtiny12)
Write EEPROM
byte (ATtiny12)
Read EEPROM
Low Address
(ATtiny12)
SERIAL DATA OUTPUT
SERIAL CLOCK INPUT
SERIAL INSTR. INPUT
SERIAL DATA INPUT
ATtiny11/12
XTAL1/PB3
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
0_1000_0000_00
0_0100_1100_00
0_0001_0000_00
0_0100_1100_00
0_ i i i i_i i i i _00
0_0010_1100_00
0_ i i i i_i i i i _00
0_0011_1100_00
0_0000_0010_00
0_0100_1100_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0111_1000_00
0_0001_0001_00
0_0100_1100_00
0_ i i i i_i i i i _00
0_0010_1100_00
0_0000_0011_00
0_0100_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.1
0
MSB
MSB
MSB
1
0_00bb_bbbb_00
0_00bb_bbbb_00
o_oooo_ooox_xx
o_oooo_ooox_xx
0_0000_0000_00
0_0110_0100_00
0_0000_000a_00
0_0001_1100_00
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0111_0100_00
0_0000_000a_00
0_0001_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0111_1100_00
0_0000_1100_00
0_0000_0000_00
0_0110_0100_00
0_0000_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.2
2
Instruction Format
3
0_bbbb_bbbb_00
0_bbbb_bbbb_00
0_0000_0000_00
0_0110_1100_00
0_0000_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0000_0000_00
0_0111_1100_00
0_0000_0000_00
0_0000_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
4
Instr.3
5
6
0_0000_0000_00
0_0100_1100_00
x_xxxx_xxxx_xx
Instr.4
7
LSB
LSB
LSB
8
Operation Remarks
Wait after Instr.4 until PB2 goes
high for the Chip Erase cycle to
finish.
Repeat Instr.2 for a new 256 byte
page. Repeat Instr.3 for each new
address.
Wait after Instr.3 until PB2 goes
high. Repeat Instr.1, Instr. 2 and
Instr.3 for each new address.
Wait after Instr.3 until PB2 goes
high. Repeat Instr.1, Instr. 2 and
Instr.3 for each new address.
Repeat Instr.2 and Instr.3 for each
new address.
Repeat Instr.1 and Instr.2 for each
new address.
Repeat Instr.1 and Instr.2 for each
new address.
Repeat Instr.2 for each new
address.
Wait after Instr.3 until PB2 goes
high
Repeat Instr.2 for each new
address.
9
10
1006D–AVR–07/03

Related parts for TINY12