ATMEGA128A-MU Atmel, ATMEGA128A-MU Datasheet - Page 282
ATMEGA128A-MU
Manufacturer Part Number
ATMEGA128A-MU
Description
MCU 8BIT 128K ISP FLASH 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA128A-MU
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
64-MLF®, 64-QFN
Processor Series
ATMEGA128x
Core
AVR8
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Controller Family/series
AVR MEGA
No. Of I/o's
53
Eeprom Memory Size
4KB
Ram Memory Size
4KB
Cpu Speed
16MHz
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA128A-MU
Manufacturer:
Atmel
Quantity:
442
Company:
Part Number:
ATMEGA128A-MU
Manufacturer:
ATMEL
Quantity:
423
- Current page: 282 of 386
- Download datasheet (8Mb)
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-MU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: