atmega161-4pi ATMEL Corporation, atmega161-4pi Datasheet - Page 110

no-image

atmega161-4pi

Manufacturer Part Number
atmega161-4pi
Description
8-bit Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Memory
Programming
Boot Loader Support
110
ATmega161(L)
The ATmega161 provides a mechanism for downloading and uploading program code
by the MCU itself. This feature allows flexible application software updates, controlled
by the MCU using a Flash-resident Boot Loader program.
The ATmega161 Flash memory is organized in two main sections:
1. The Application Code section (address $0000 - $1DFF)
2. The Boot Loader section/Boot block (address $1E00 - $1FFF)
Figure 74. Memory Sections
The Boot Loader program can use any available data interface and associated protocol,
such as UART serial bus interface, to input or output program code and write (program)
that code into the Flash memory or read the code from the Program memory.
The program Flash memory is divided into pages that each contain 128 bytes. The Boot
Loader Flash section occupies eight pages from $1E00 to $1FFF by 16-bit words.
The Store Program Memory (SPM) instruction can access the entire Flash, but it can
only be executed from the Boot Loader Flash section. If no Boot Loader capability is
needed, the entire Flash is available for application code. The ATmega161 has two sep-
arate sets of Boot Lock bits that can be set independently. This gives the user a unique
flexibility to select different levels of protection. The user can elect to:
Application Code section
Boot Loader section
Program Memory
(7.5K x 16)
(512 x 16)
$1E00
$0000
$1DFF
$1FFF
1228D–AVR–02/07

Related parts for atmega161-4pi