ATA5771_09 ATMEL [ATMEL Corporation], ATA5771_09 Datasheet - Page 227

no-image

ATA5771_09

Manufacturer Part Number
ATA5771_09
Description
Microcontroller with UHF ASK/FSK Transmitter
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
21.8.4
Figure 21-5. High-voltage Serial Programming Waveforms
174
SDO
PB0
PB1
PB2
PB3
SDI
SCI
SII
ATtiny24/44/84
Programming the Flash
0
MSB
MSB
MSB
1
The Flash is organized in pages, see
the program data is latched into a page buffer. This allows one page of program data to be pro-
grammed simultaneously. The following procedure describes how to program the entire Flash
memory:
1. Load Command “Write Flash” (see
2. Load Flash Page Buffer.
3. Load Flash High Address and Program Page. Wait after Instr. 3 until SDO goes high for
4. Repeat 2 through 3 until the entire Flash is programmed or until all data has been
5. End Page Programming by Loading Command “No Operation”.
When writing or reading serial data to the ATtiny24/44/84, data is clocked on the rising edge of
the serial clock, see
186
Figure 21-4. Addressing the Flash which is Organized in Pages
the “Page Programming” cycle to finish.
programmed.
for details.
2
PROGRAM MEMORY
PROGRAM
COUNTER
3
PAGE
Figure 22-5 on page
PAGE ADDRESS
WITHIN THE FLASH
PCMSB
4
PCPAGE
5
”Page Size” on page
Table 21-15 on page
6
186,
PAGEMSB
PCWORD
Figure 21-3 on page 172
WORD ADDRESS
WITHIN A PAGE
7
LSB
INSTRUCTION WORD
LSB
LSB
8
167. When programming the Flash,
PAGE
176).
9
and
10
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
Table 22-9 on page
7701C–AVR–12/08

Related parts for ATA5771_09