ATMEGA128A-AUR Atmel, ATMEGA128A-AUR Datasheet - Page 282

MCU AVR 128K FLASH 16MHZ 64TQFP

ATMEGA128A-AUR

Manufacturer Part Number
ATMEGA128A-AUR
Description
MCU AVR 128K FLASH 16MHZ 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA128A-AUR

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA128A-AUR
Manufacturer:
ATMEL
Quantity:
3 000
Part Number:
ATMEGA128A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA128A-AUR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
25.7
8151H–AVR–02/11
Addressing the Flash During Self-Programming
Note:
The Z-pointer together with RAMPZ are used to address the SPM commands. For details on
how to use the RAMPZ, see “RAMPZ - RAM Page Z Select Register” on page 14.
Since the Flash is organized in pages (see
be treated as having two different sections. One section, consisting of the least significant bits, is
addressing the words within a page, while the most significant bits are addressing the pages.
This is shown in
independently. Therefore it is of major importance that the Boot Loader software addresses the
same page in both the page erase and page write operation. Once a programming operation is
initiated, the address is latched and the Z-pointer/RAMPZ can be used for other operations.
The only SPM operation that does not use the Z-pointer/RAMPZ is setting the Boot Loader Lock
bits. The content of the Z-pointer/RAMPZ is ignored and will have no effect on the operation.
The (E)LPM instruction does also use the Z-pointer/RAMPZ to store the address. Since this
instruction addresses the Flash byte by byte, also the LSB (bit Z0) of the Z-pointer is used.
Figure 25-3. Addressing the Flash During SPM
Notes:
Bit
ZH (R31)
ZL (R30)
1. “1” means unprogrammed, “0´means programmed
1. The different variables used in
2. PCPAGE and PCWORD are listed in
RAMPZ
PROGRAM
COUNTER
PROGRAM MEMORY
PAGE
Figure
Z15
15
Z7
7
PCMSB
PAGE ADDRESS
WITHIN THE FLASH
BIT
15
25-3. Note that the page erase and page write operations are addressed
ZPCMSB
Z14
14
Z6
6
PCPAGE
Z13
13
Z5
5
Figure 25-3
Table 26-10 on page
Z12
12
Z4
Table 26-11 on page
4
PAGEMSB
ZPAGEMSB
WORD ADDRESS
WITHIN A PAGE
(1)
PCWORD
are listed in
Z11
11
Z3
3
INSTRUCTION WORD
1
PAGE
0
0
Table 25-8 on page
Z10
10
Z2
2
Z - REGISTER
296.
296), the program counter can
ATmega128A
Z9
Z1
9
1
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
288.
Z8
Z0
8
0
282

Related parts for ATMEGA128A-AUR