Datasheet

ATmega32A
2018 Microchip Technology Inc. Data Sheet Complete DS40002072A-page 263
J. End Page Programming
1. 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 signals are reset.
Figure 27-2. Addressing the Flash which is Organized in Pages
Note: 1. PCPAGE and PCWORD are listed in Table 27-5 on page 259.
Figure 27-3. Programming the Flash Waveforms
(1)
Note: 1. “XX” is don’t care. The letters refer to the programming description above.
PROGRAM MEMORY
WORD ADDRESS
WITHIN A PAGE
PAGE ADDRESS
WITHIN THE FLASH
INSTRUCTION WORD
PAGE
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
PAGE
PCWORDPCPAGE
PCMSB
PAGEMSB
PROGRAM
COUNTER
RDY/BSY
WR
OE
RESET +12V
PAGEL
BS2
$10 ADDR. LOW
ADDR. HIGH
DATA
DATA LOW DATA HIGH ADDR. LOW DATA LOW DATA HIGH
XA1
XA0
BS1
XTAL1
XX XX
XX
ABCDEBCDEGH
F