Datasheet
Bit 7 6 5 4 3 2 1 0
Register SERNUM[7:0]
Access R R R R R R R R
Reset x x x x x x x x
Bits 7:0 – SERNUM[7:0]: Serial Number
Each device has an individual serial number, representing a unique ID. This can be used to identify a
specific device in the field. The serial number consists of ten bytes.
32.6 Page Size
Table 32-9. No. of Words in a Page and No. of Pages in the Flash
Device Flash Size Page Size PCWORD No. of
Pages
PCPAGE PCMSB
ATmega328PB 16K words
(32 KB)
64 words PC[5:0] 256 PC[13:6] 13
Table 32-10. No. of Words in a Page and No. of Pages in the EEPROM
Device EEPROM
Size
Page
Size
PCWORD No. of
Pages
PCPAGE EEAMSB
ATmega328PB 1 KB 4 bytes EEA[1:0] 256 EEA[9:2] 9
32.7 Parallel Programming Parameters, Pin Mapping, and Commands
This section describes how to parallel program and verify Flash Program memory, EEPROM Data
memory, Memory Lock bits, and Fuse bits in the device. Pulses are assumed to be at least 250 ns unless
otherwise noted.
32.7.1 Signal Names
In this section, some pins of this device are referenced by signal names describing their functionality
during parallel programming. Refer to figure Parallel Programming and table Pin Name Mapping below.
Pins not described in the following table are referenced by pin names.
The XA1/XA0 pins determine the action executed when the XTAL1 pin is given a positive pulse. The bit
coding is shown in table XA1 and XA0 Coding below.
When pulsing WR or OE, the command loaded determines the action executed. The different commands
are shown in table Command Byte Bit Coding below.
ATmega328PB
MEMPROG - Memory Programming
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 390