ATMEGA48V_06 ATMEL [ATMEL Corporation], ATMEGA48V_06 Datasheet - Page 294

no-image

ATMEGA48V_06

Manufacturer Part Number
ATMEGA48V_06
Description
8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
26.7.5
294
ATmega48/88/168
Programming the EEPROM
Figure 26-2. Addressing the Flash Which is Organized in Pages
Note:
Figure 26-3. Programming the Flash Waveforms
Note:
The EEPROM is organized in pages, see
EEPROM, the program data is latched into a page buffer. This allows one page of data to be
programmed simultaneously. The programming algorithm for the EEPROM data memory is as
follows (refer to
Data loading):
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. C: Load Data (0x00 - 0xFF).
RESET +12V
RDY/BSY
PAGEL
XTAL1
1. PCPAGE and PCWORD are listed in
1. “XX” is don’t care. The letters refer to the programming description above.
DATA
XA1
XA0
BS1
BS2
WR
OE
PROGRAM MEMORY
PROGRAM
COUNTER
0x10
PAGE
”Programming the Flash” on page 292
A
PAGE ADDRESS
WITHIN THE FLASH
ADDR. LOW
B
PCMSB
DATA LOW
C
PCPAGE
DATA HIGH
D
XX
E
PAGEMSB
ADDR. LOW
Table 26-10 on page
PCWORD
B
Table 26-9 on page
WORD ADDRESS
WITHIN A PAGE
DATA LOW
(1)
C
F
DATA HIGH
INSTRUCTION WORD
D
for details on Command, Address and
PAGE
XX
E
289.
(1)
ADDR. HIGH
289. When programming the
G
H
PCWORD[PAGEMSB:0]:
XX
00
01
02
PAGEEND
2545J–AVR–12/06

Related parts for ATMEGA48V_06