342
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
19.5.2
EEFC Flash Command Register
Name:
EEFC_FCR
Address:
0x400E0A04
Access:
Write-only
Offset:
0x04
• FCMD: Flash Command
This field defines the Flash commands. Refer to
• FARG: Flash Command Argument
• FKEY: Flash Writing Protection Key
This field should be written with the value 0x5A to enable the command defined by the bits of the register. If the field is writ-
ten with a different value, the write is not performed and no action is started.
31
30
29
28
27
26
25
24
FKEY
23
22
21
20
19
18
17
16
FARG
15
14
13
12
11
10
9
8
FARG
7
6
5
4
3
2
1
0
FCMD
Erase all command
Field is meaningless.
Erase plane command
FARG must be set with a page number that is in the
memory plane to be erased.
Erase sector command
FARG must be set with a page number that is in the sector to be
erased.
Erase pages command
FARG[15:2] defines the page from which the erase will start.
This page must be modulo 4, 8, 16 or 32 according to the
number of pages to erase.
FARG[1:0] defines the number of pages to be erased. Refer to
Programming command
FARG defines the page number to be programmed.
Lock command
FARG defines the page number to be locked.
GPNVM command
FARG defines the GPNVM number.
Summary of Contents for SAM4S Series
Page 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Page 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...