ATMEGA161-8PI Atmel, ATMEGA161-8PI Datasheet - Page 111

IC AVR MCU 16K 8MHZ IND 40-DIP

ATMEGA161-8PI

Manufacturer Part Number
ATMEGA161-8PI
Description
IC AVR MCU 16K 8MHZ IND 40-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA161-8PI

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
35
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Other names
ATMEGA1618PI
Entering the Boot Loader
Program
1228D–AVR–02/07
• Protect the entire Flash from a software update by the Boot Loader program
• Only protect the Boot Loader section from a software update by the Boot Loader
• Only protect the Application Code section from a software update by the Boot Loader
• Allow software update in the entire Flash
See Table 37 and Table 38 for further details. The Boot Lock bits can be set in software
and in Serial or Parallel Programming mode, but they can only be cleared by a Chip
Erase command.
Table 37. Boot Lock Bit0 Protection Modes (Application Code Section)
Note:
Table 38. Boot Lock Bit1 Protection Modes (Boot Loader Section)
Note:
Entering the Boot Loader takes place by a jump or call from the application program.
This may be initiated by some trigger such as a command received via UART or SPI
interface. Alternatively, the Boot Reset Fuse (BOOTRST) can be programmed so that
the Reset Vector is pointing to address $1E00 after a reset. In this case, the Boot
Loader is started after the reset. After the application code is loaded, the program can
start executing the application code. Note that the fuses cannot be changed by the MCU
itself. This means that once the Boot Reset Fuse is programmed, the Reset Vector will
always point to the Boot Loader Reset and the fuse can only be changed through the
serial or parallel programming interface. The BOOTRST fuse can also be locked by pro-
gramming LB1. When LB1 is programmed it is not possible to change the BOOTRST
fuse unless a Chip Erase command is performed first.
BLB0 Mode
BLB1 Mode
program
program
1
2
3
4
1
2
3
4
1. “1” = unprogrammed, “0” = programmed
1. “1” means unprogrammed, “0” means programmed
BLB02
BLB12
1
1
0
0
1
1
0
0
BLB01
BLB1
1
1
0
0
1
1
0
0
1
Protection
No restrictions for SPM, LPM accessing Boot Loader
section
SPM is not allowed to write to the Boot Loader section.
SPM is not allowed to write to the Boot Loader section,
and LPM executing from the Application Code section is
not allowed to read from the Boot Loader section.
LPM executing from the Application Code section is not
allowed to read from the Boot Loader section.
No restrictions for SPM, LPM accessing Application Code
section
SPM is not allowed to write to the Application Code
section.
SPM is not allowed to write to the Application Code
section, and LPM executing from the Boot Loader section
is not allowed to read from the Application Code section.
LPM executing from the Boot Loader section is not
allowed to read from the Application Code section.
Protection
ATmega161(L)
(1)
(1)
111

Related parts for ATMEGA161-8PI