ATMEGA8L ATMEL [ATMEL Corporation], ATMEGA8L Datasheet - Page 226

no-image

ATMEGA8L

Manufacturer Part Number
ATMEGA8L
Description
8-bit AVR with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8L-6AU
Manufacturer:
ATMEL
Quantity:
675
Part Number:
ATMEGA8L-8AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA8L-8AI
Manufacturer:
MICROCHIP
Quantity:
1 292
Part Number:
ATMEGA8L-8AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA8L-8AI
Manufacturer:
ATMEL
Quantity:
8 000
Part Number:
ATMEGA8L-8AI
Manufacturer:
ALTERA
0
Part Number:
ATMEGA8L-8AJ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA8L-8AU
Manufacturer:
ATMEL
Quantity:
4 590
Part Number:
ATMEGA8L-8AU
Manufacturer:
Atmel
Quantity:
7 500
Part Number:
ATMEGA8L-8AU
Manufacturer:
ATMEL
Quantity:
591
Part Number:
ATMEGA8L-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATMEGA8L-8AU
Quantity:
7
Company:
Part Number:
ATMEGA8L-8AU
Quantity:
7
226
ATmega8(L)
While the lower bits in the address are mapped to words within the page, the higher bits
address the pages within the FLASH. This is illustrated in Figure 105 on page 226. Note
that if less than eight bits are required to address words in the page (pagesize < 256),
the most significant bit(s) in the address Low byte are used to address the page when
performing a page write.
G. Load Address High byte
1. Set XA1, XA0 to “00”. This enables address loading.
2. Set BS1 to “1”. This selects high address.
3. Set DATA = Address High byte (0x00 - 0xFF).
4. Give XTAL1 a positive pulse. This loads the address High byte.
H. Program Page
1. Set BS1 = “0”
2. Give WR a negative pulse. This starts programming of the entire page of data.
3. Wait until RDY/BSY goes high. (See Figure 106 for signal waveforms)
I. Repeat B through H until the entire Flash is programmed or until all data has been
programmed.
J. End Page Programming
1. Set XA1, XA0 to “10”. This enables command loading.
2. Set DATA to “0000 0000”. This is the command for No Operation.
3. Give XTAL1 a positive pulse. This loads the command, and the internal write sig-
Figure 105. Addressing the Flash which is Organized in Pages
Note:
RDY/BSY goes low.
nals are reset.
PROGRAM MEMORY
1. PCPAGE and PCWORD are listed in Table 93 on page 224.
PROGRAM
COUNTER
PAGE
PAGE ADDRESS
WITHIN THE FLASH
PCMSB
PCPAGE
PAGEMSB
PCWORD
WORD ADDRESS
WITHIN A PAGE
INSTRUCTION WORD
PAGE
(1)
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
2486M–AVR–12/03

Related parts for ATMEGA8L