ATMEGA325-16AJ ATMEL [ATMEL Corporation], ATMEGA325-16AJ Datasheet - Page 244

no-image

ATMEGA325-16AJ

Manufacturer Part Number
ATMEGA325-16AJ
Description
8-bit Microcontroller with In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Boot Loader Lock Bits
244
ATmega325/3250/645/6450
Figure 109. Memory Sections
Note:
If no Boot Loader capability is needed, the entire Flash is available for application code.
The Boot Loader has two separate sets of Boot Lock bits which can be set indepen-
dently. This gives the user a unique flexibility to select different levels of protection.
The user can select:
See Table 100 and Table 101 for further details. The Boot Lock bits and general Lock
bits can be set in software and in Serial or Parallel Programming mode, but they can be
cleared by a Chip Erase command only. The general Write Lock (Lock Bit mode 2) does
not control the programming of the Flash memory by SPM instruction. Similarly, the gen-
eral Read/Write Lock (Lock Bit mode 1) does not control reading nor writing by
LPM/SPM, if it is attempted.
To protect the entire Flash from a software update by the MCU.
To protect only the Boot Loader Flash section from a software update by the MCU.
To protect only the Application Flash section from a software update by the MCU.
Allow software update in the entire Flash.
1. The parameters in the figure above are given in Table 104 on page 254.
Boot Loader Flash Section
Boot Loader Flash Section
Application Flash Section
Application Flash Section
Application Flash Section
Application Flash Section
Program Memory
Program Memory
BOOTSZ = '11'
BOOTSZ = '01'
0x0000
End RWW
Start NRWW
End Application
Start Boot Loader
Flashend
0x0000
End RWW
Start NRWW
End Application
Start Boot Loader
Flashend
Boot Loader Flash Section
Boot Loader Flash Section
Application Flash Section
Application Flash Section
Application Flash Section
Program Memory
Program Memory
BOOTSZ = '10'
BOOTSZ = '00'
0x0000
End RWW
Start NRWW
End Application
Start Boot Loader
Flashend
0x0000
End RWW, End Application
Start NRWW, Start Boot Loader
Flashend
2570A–AVR–09/04

Related parts for ATMEGA325-16AJ