Datasheet
32
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
Each Sector is organized in pages of 512 Bytes.
For sector 0:
The smaller sector 0 has 16 pages of 512Bytes
The smaller sector 1 has 16 pages of 512 Bytes
The larger sector has 96 pages of 512 Bytes
From Sector 1 to n:
The rest of the array is composed of 64-KByte sectors of 128 pages, each page of 512 bytes. Refer to Figure 8-2, "Flash
Sector Organization" below.
Figure 8-2. Flash Sector Organization
Flash size varies by product:
SAM4S8/S16: the Flash size is 512 KBytes
Internal Flash address is 0x0040_0000
SAM4SD16/SA16: the Flash size is 2 x 512 KBytes
Internal Flash0 address is 0x0040_0000
Internal Flash1 address is 0x0048_0000
SAM4SD32: the Flash size is 2 x 1024 KBytes
Internal Flash0 address is 0x0040_0000
Internal Flash1 address is 0x0050_0000
Refer to Figure 8-3, "Flash Size" below for the organization of the Flash following its size.
Sector 0
Sector 1
Smaller sector 0
Smaller sector 1
Larger sector
A sector size is 64 KBytes
16 pages of 512 Bytes
16 pages of 512 Bytes
96 pages of 512 Bytes
128 pages of 512 Bytes
Sector n 128 pages of 512 Bytes