English
Language : 

ATMEGA16HVB_14 Datasheet, PDF (17/278 Pages) ATMEL Corporation – High performance, low power Atmel
ATmega16HVB/32HVB
8. AVR memories
8.1 Overview
This section describes the different memories in the Atmel ATmega16HVB/32HVB. The AVR
architecture has two main memory spaces, the Data Memory and the Program Memory space.
In addition, the ATmega16HVB/32HVB features an EEPROM Memory for data storage. All three
memory spaces are linear and regular.
8.2 In-system reprogrammable flash program memory
The ATmega16HVB/32HVB contains 16K/32Kbytes On-chip in-system reprogrammable flash
memory for program storage. Since all AVR instructions are 16-bits or 32-bits wide, the Flash is
organized as 8K/16K × 16.
The Flash memory has an endurance of at least 10,000 write/erase cycles. The
ATmega16HVB/32HVB Program Counter (PC) is 13/14 bits wide, thus addressing the 8K/16K
program memory locations. The operation of Boot Program section and associated Boot Lock
bits for software protection are described in detail in ”Boot loader support – Read-while-write
self-programming” on page 188. ”Memory programming” on page 204 contains a detailed
description on Flash programming.
Constant tables can be allocated within the entire program memory address space (see the LPM
– Load Program Memory instruction description).
Timing diagrams for instruction fetch and execution are presented in ”Instruction execution tim-
ing” on page 14.
Figure 8-1. Program memory map.
Program Memory
0x0000
Application Flash Section
Boot Flash Section
0x1FFF/0x3FFF
8.3 SRAM data memory
Figure 8-2 on page 18 shows how the ATmega16HVB/32HVB SRAM Memory is organized.
17
8042E–AVR–09/2013