Datasheet
38
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
Figure 8-2. Flash Sector Organization
Flash size varies by product:
SAM4S2: the Flash size is 128 Kbytes in a single plane
SAM4S4: the Flash size is 256 Kbytes in a single plane
SAM4S8/S16: the Flash size is 512 Kbytes in a single plane
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 depending on 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