Atmel ATmega328P Xplained Mini MEGA328P-XMINI MEGA328P-XMINI Data Sheet

Product codes
MEGA328P-XMINI
Page of 657
282
ATmega48A/PA/88A/PA/168A/PA/328/P [DATASHEET]
Atmel-8271H-AVR- ATmega-Datasheet_08/2014
Notes: 1.
Program the Fuse bits and Boot Lock bits before programming the LB1 and LB2.
2.
“1” means unprogrammed, “0” means programmed
28.2
Fuse Bits
The ATmega48A/PA/88A/PA/168A/PA/328/P has three Fuse bytes. 
describe briefly the functionality of all the fuses and how they are mapped into the Fuse bytes. Note that the 
fuses are read as logical zero, “0”, if they are programmed.
Table 28-3.
Lock Bit Protection Modes
. Only ATmega88A/88PA/168A/168PA/328/328P.
BLB0 Mode
BLB02
BLB01
1
1
1
No restrictions for SPM or LPM accessing the Application 
section.
2
1
0
SPM is not allowed to write to the Application section.
3
0
0
SPM is not allowed to write to the Application section, and LPM 
executing from the Boot Loader section is not allowed to read 
from the Application section. If Interrupt Vectors are placed in 
the Boot Loader section, interrupts are disabled while executing 
from the Application section.
4
0
1
LPM executing from the Boot Loader section is not allowed to 
read from the Application section. If Interrupt Vectors are placed 
in the Boot Loader section, interrupts are disabled while 
executing from the Application section.
BLB1 Mode
BLB12
BLB11
1
1
1
No restrictions for SPM or LPM accessing the Boot Loader 
section.
2
1
0
SPM is not allowed to write to the Boot Loader section.
3
0
0
SPM is not allowed to write to the Boot Loader section, and LPM 
executing from the Application section is not allowed to read 
from the Boot Loader section. If Interrupt Vectors are placed in 
the Application section, interrupts are disabled while executing 
from the Boot Loader section.
4
0
1
LPM executing from the Application section is not allowed to 
read from the Boot Loader section. If Interrupt Vectors are 
placed in the Application section, interrupts are disabled while 
executing from the Boot Loader section.
Table 28-4.
Extended Fuse Byte for ATmega 48A/48PA
Extended Fuse Byte
Bit No
Description
Default Value
7
1
6
1
5
1
4
1
3
1
2
1
1
1
SELFPRGEN
0
Self Programming Enable
1 (unprogrammed)