ATxmega128D4-AU ATMEL [ATMEL Corporation], ATxmega128D4-AU Datasheet - Page 13

no-image

ATxmega128D4-AU

Manufacturer Part Number
ATxmega128D4-AU
Description
8/16-bit Atmel XMEGA D4 Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATXMEGA128D4-AU
Manufacturer:
Atmel
Quantity:
10 000
7.3
7.3.1
7.3.2
7.3.3
8135L–AVR–06/12
Flash Program Memory
Application Section
Application Table Section
Boot Loader Section
The Atmel AVR XMEGA devices contain on-chip, in-system reprogrammable flash memory for
program storage. The flash memory can be accessed for read and write from an external pro-
grammer through the PDI or from application software running in the device.
All AVR CPU instructions are 16 or 32 bits wide, and each flash location is 16 bits wide. The
flash memory is organized in two main sections, the application section and the boot loader sec-
tion. The sizes of the different sections are fixed, but device-dependent. These two sections
have separate lock bits, and can have different levels of protection. The store program memory
(SPM) instruction, which is used to write to the flash from the application software, will only oper-
ate when executed from the boot loader section.
The application section contains an application table section with separate lock settings. This
enables safe storage of nonvolatile data in the program memory.
Figure 7-1.
The Application section is the section of the flash that is used for storing the executable applica-
tion code. The protection level for the application section can be selected by the boot lock bits
for this section. The application section can not store any boot loader code since the SPM
instruction cannot be executed from the application section.
The application table section is a part of the application section of the flash memory that can be
used for storing data. The size is identical to the boot loader section. The protection level for the
application table section can be selected by the boot lock bits for this section. The possibilities
for different protection levels on the application section and the application table section enable
safe parameter storage in the program memory. If this section is not used for data, application
code can reside here.
While the application section is used for storing the application code, the boot loader software
must be located in the boot loader section because the SPM instruction can only initiate pro-
gramming when executing from this section. The SPM instruction can access the entire flash,
including the boot loader section itself. The protection level for the boot loader section can be
selected by the boot loader lock bits. If this section is not used for boot loader software, applica-
tion code can be stored here.
10FFF
10000
EFFF
FFFF
F000
/
/
/
/
/
Flash program memory (Hexadecimal address).
7FFF
77FF
87FF
7800
8000
Word address
/
/
/
/
/
37FF
3FFF
47FF
3800
4000
/
/
/
/
/
17FF
1FFF
27FF
1800
2000
0
10FFF
10000
EFFF
FFFF
F000
/
/
/
/
/
Application Table Section
(128K/64K/32K/16K)
Application Section
(4K/4K/4K/4K)
(8K/4K/4K/4K)
Boot Section
XMEGA D4
...
13

Related parts for ATxmega128D4-AU