English
Language : 

SAM4L Datasheet, PDF (277/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
14.10.3 Flash Status Register
Name:
FSR
Access Type:
Read-only
Offset:
0x08
Reset Value:
0x00000000
31
LOCK15
30
LOCK14
29
LOCK13
28
LOCK12
27
LOCK11
26
LOCK10
25
LOCK9
24
LOCK8
23
LOCK7
22
LOCK6
21
LOCK5
20
LOCK4
19
LOCK3
18
LOCK2
17
LOCK1
16
LOCK0
15
14
13
12
11
10
9
8
-
-
-
-
-
-
-ECCERR
-ECCERR
7
6
5
4
3
2
1
-
HSMODE
QPRR
SECURITY
PROGE
LOCKE
-
0
FRDY
• LOCKx: Lock Region x Lock Status
0: The corresponding lock region is not locked.
1: The corresponding lock region is locked.
• ECCERR: ECC Error Status
Automatically cleared when FSR is read.
Indicates the status of the ECC system. ECCERR can only be only updated when ECCERR == 0, ie for the first ECC error
encountered.
• HSMODE: High-Speed Mode
0: High-speed mode disabled.
1: High-speed mode enabled.
• QPRR: Quick Page Read Result
0: The result is zero, i.e. the page is not erased.
1: The result is one, i.e. the page is erased.
• SECURITY: Security Fuses Status
0: The security fuses value indicates a non protected state..
1: The security fuses value indicates a protected state.
• PROGE: Programming Error Status
Automatically cleared when FSR is read.
0: No invalid commands and no bad keywords were written in the Flash Command Register FCMD.
1: An invalid command and/or a bad keyword was/were written in the Flash Command Register FCMD.
• LOCKE: Lock Error Status
Automatically cleared when FSR is read.
0: No programming of at least one locked lock region has happened since the last read of FSR.
1: Programming of at least one locked lock region has happened since the last read of FSR.
• FRDY: Flash Ready Status
0: The Flash Controller is busy and the application must wait before running a new command.
1: The Flash Controller is ready to run a new command.
42023C–SAM–02/2013
277