attiny13-20ss ATMEL Corporation, attiny13-20ss Datasheet - Page 115

no-image

attiny13-20ss

Manufacturer Part Number
attiny13-20ss
Description
8-bit Microcontroller With 1k Bytes In-system Programmable Flash - Atmel Corporation
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny13-20ssI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny13-20ssJ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny13-20ssU
Quantity:
2 180
Company:
Part Number:
attiny13-20ssU
Quantity:
100
Company:
Part Number:
attiny13-20ssU
Quantity:
739
Part Number:
attiny13-20ssU-SL383
Manufacturer:
ATMEL
Quantity:
4 132
Programming the Flash
Figure 59. High-voltage Serial Programming Waveforms
2535G–AVR–01/07
SDO
PB0
PB1
PB2
PB3
SDI
SCI
SII
0
MSB
MSB
MSB
1
2
The Flash is organized in pages, see Table 50 on page 110. When programming the
Flash, the program data is latched into a page buffer. This allows one page of program
data to be programmed simultaneously. The following procedure describes how to pro-
gram the entire Flash memory:
1. Load Command “Write Flash” (see Table 55).
2. Load Flash Page Buffer.
3. Load Flash High Address and Program Page. Wait after Instr. 3 until SDO goes
4. Repeat 2 through 3 until the entire Flash is programmed or until all data has
5. End Page Programming by Loading Command “No Operation”.
When writing or reading serial data to the ATtiny13, data is clocked on the rising edge of
the serial clock, see Figure 59, Figure 60 and Table 56 for details.
Figure 58. Addressing the Flash which is Organized in Pages
high for the “Page Programming” cycle to finish.
been programmed.
PROGRAM MEMORY
3
PROGRAM
COUNTER
PAGE
4
PAGE ADDRESS
WITHIN THE FLASH
PCMSB
5
PCPAGE
6
PAGEMSB
PCWORD
7
WORD ADDRESS
WITHIN A PAGE
LSB
LSB
LSB
8
INSTRUCTION WORD
PAGE
9
10
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
115

Related parts for attiny13-20ss