Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
AVR MEMORY ORGANIZATION
The AVR microcontroller's memory is divided into Program Memory and Data
Memory. Program Memory (ROM) is used for permanent saving program being exe-
cuted, while Data Memory (RAM) is used for temporarily storing and keeping inter-
mediate results and variables. 
Program Memory (ROM)
Program Memory (ROM) is used for permanent saving program (CODE) being exe-
cuted, and it is divided into two sections, Boot Program section and the Application
Program section. The size of these sections is configured by the BOOTSZ fuse.
These two sections can have different level of protection since they have different
sets of Lock bits. 
Depending on the settings made in compiler, program memory may also used to
store a constant variables. The AVR executes programs stored in program memory
only. 
code
memory type specifier is used to refer to program memory. 
Data Memory
Data memory consists of : 
- Rx space 
- I/O Memory 
- Extended I/O Memory (MCU dependent) 
- Internal SRAM 
105
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
8051 Specifics
mikroBasic PRO for AVR
CHAPTER 4