Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
41
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
Figure 8-3.
Flash Size
The following erase commands can be used depending on the sector size: 
8 Kbyte small sector
̶
Erase and write page (EWP)
̶
Erase and write page and lock (EWPL)
̶
Erase sector (ES) with FARG set to a page number in the sector to erase
̶
Erase pages (EPA) with FARG [1:0] = 0 to erase four pages or FARG [1:0] = 1 to erase eight pages. 
FARG [1:0] = 2 and FARG [1:0] = 3 must not be used. 
48 Kbyte and 64 Kbyte sectors
̶
One block of 8 pages inside any sector, with the command Erase pages (EPA) with FARG[1:0] = 1
̶
One block of 16 pages inside any sector, with the command Erase pages (EPA) and FARG[1:0] = 2 
̶
One block of 32 pages inside any sector, with the command Erase pages (EPA) and FARG[1:0] = 3
̶
One sector with the command Erase sector (ES) and FARG set to a page number in the sector to 
erase
Entire memory plane
̶
The entire Flash, with the command Erase all (EA)
The Write commands of the Flash cannot be used under 330 kHz.
8.1.3.2 Enhanced Embedded Flash Controller
The Enhanced Embedded Flash Controller manages accesses performed by the masters of the system. It enables 
reading the Flash and writing the write buffer. It also contains a User Interface, mapped on the APB.
The Enhanced Embedded Flash Controller ensures the interface of the Flash block. 
It manages the programming, erasing, locking and unlocking sequences of the Flash using a full set of commands.
One of the commands returns the embedded Flash descriptor definition that informs the system about the Flash 
organization, thus making the software generic.
8.1.3.3 Flash Speed
The user must set the number of wait states depending on the frequency used.
For more details, refer to the “AC Characteristics” sub-section of the product “Electrical Characteristics”.
2 * 8 KBytes
1 * 48 KBytes
15 * 64 KBytes
2 * 8 KBytes
1 * 48 KBytes
7  * 64 KBytes
2 * 8 KBytes
1 * 48 KBytes
3 * 64 KBytes
Flash 1 MBytes
Flash 512 KBytes
Flash 256 KBytes