English
Language : 

SAM-G53N_14 Datasheet, PDF (372/949 Pages) ATMEL Corporation – Atmel | SMART ARM-based Flash MCU
Table 20-2. Set of Commands (Continued)
Command
Stop read unique identifier
Get CALIB bit
Erase sector
Write user signature
Erase user signature
Start read user signature
Stop read user signature
Value
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
Mnemonic
SPUI
GCALB
ES
WUS
EUS
STUS
SPUS
In order to execute one of these commands, select the desired command using the FCMD field in the Flash
Command register (EEFC_FCR). As soon as EEFC_FCR is written, the FRDY flag and the FVALUE field in the
Flash Result register (EEFC_FRR) are automatically cleared. Once the current command has completed, the
FRDY flag is automatically set. If an interrupt has been enabled by setting the bit EEFC_FMR.FRDY, the
corresponding interrupt line of the interrupt controller is activated. (Note that this is true for all commands except
for the STUI command. The FRDY flag is not set when the STUI command has completed.)
All the commands are protected by the same keyword, which must be written in the eight highest bits of
EEFC_FCR.
Writing EEFC_FCR with data that does not contain the correct key and/or with an invalid command has no effect
on the whole memory plane, but the FCMDE flag is set in the Flash Status register (EEFC_FSR). This flag is
automatically cleared by a read access to EEFC_FSR.
When the current command writes or erases a page in a locked region, the command has no effect on the whole
memory plane, but the FLOCKE flag is set in EEFC_FSR. This flag is automatically cleared by a read access to
EEFC_FSR.
372
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240E-ATARM-SAM-G53G-SAM-G53N-Datasheet_17-Oct-14