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

no-image

ATMEGA48V_11

Manufacturer Part Number
ATMEGA48V_11
Description
8-bit Atmel Microcontroller with 4/8/16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
28.7.5
2545T–AVR–05/11
Programming the EEPROM
Figure 28-2. Addressing the flash which is organized in pages
Note:
Figure 28-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).
5. E: Latch data (give PAGEL a positive pulse).
RESET +12V
RDY/BSY
PAGEL
1. PCPAGE and PCWORD are listed in
XTAL1
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
A
“Programming the flash” on page 292
PAGE ADDRESS
WITHIN THE FLASH
ADDR. LOW
B
PCMSB
DATA LOW
C
PCPAGE
DATA HIGH
D
XX
E
PAGEMSB
ADDR. LOW
Table 28-10 on page
PCWORD
B
Table 28-9 on page
WORD ADDRESS
WITHIN A PAGE
(1)
DATA LOW
C
.
F
DATA HIGH
INSTRUCTION WORD
for details on Command, Address and
D
PAGE
XX
ATmega48/88/168
E
289.
(1)
.
ADDR. HIGH
289. When programming the
G
H
PCWORD[PAGEMSB:0]:
XX
00
01
02
PAGEEND
294

Related parts for ATMEGA48V_11