29.5.3 SEFC Flash Status Register

Name: EEFC_FSR
Offset: 0x08
Reset: 0x00000001
Property: Read-only

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 MECCEMSBLSECCEMSBLMECCELSBLSECCELSBLMECCEMSBDSECCEMSBDMECCELSBDSECCELSBD 
Access RRRRRRRR 
Reset 00000000 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
   FLSUSPWPERRFLERRFLOCKEFCMDEFRDY 
Access RRRRRR 
Reset 000001 

Bit 23 – MECCEMSBL Multiple ECC Error on MSB Part of the Memory Lock Bits

ValueDescription
0

No multiple error detected on 64 MSB of the Flash memory lock bits since the last read of EEFC_FSR

1

Multiple errors detected and NOT corrected on 64 MSB of the Flash memory lock bits since the last read of EEFC_FSR

Bit 22 – SECCEMSBL Single ECC Error on MSB Part of the Memory Lock Bits

ValueDescription
0

No single error detected on 64 MSB lock bits of the Flash memory since the last read of EEFC_FSR

1

Single error detected but corrected on 64 MSB of the Flash memory lock bits since the last read of EEFC_FSR

Bit 21 – MECCELSBL Multiple ECC Error on LSB Part of the Memory Lock Bits

ValueDescription
0

No multiple error detected on 64 LSB of the Flash memory Lock bits since the last read of EEFC_FSR.

1

Multiple errors detected and NOT corrected on 64 LSB of the Flash memory Lock bits since the last read of EEFC_FSR.

Bit 20 – SECCELSBL Single ECC Error on LSB Part of the Memory Lock Bits

ValueDescription
0

No single error detected on 64 LSB of the Flash memory lock bits since the last read of EEFC_FSR

1

Single error detected but corrected on 64 LSB of the Flash memory lock bits since the last read of EEFC_FSR

Bit 19 – MECCEMSBD Multiple ECC Error on MSB Part of the Memory Flash Data Bus (cleared on read)

ValueDescription
0

No multiple error detected on 64 MSB of the Flash memory data bus since the last read of EEFC_FSR

1

Multiple errors detected and NOT corrected on 64 MSB of the Flash memory data bus since the last read of EEFC_FSR

Bit 18 – SECCEMSBD Single ECC Error on MSB Part of the Memory Flash Data Bus (cleared on read)

ValueDescription
0

No single error detected on 64 MSB of the Flash memory data bus since the last read of EEFC_FSR

1

Single error detected but corrected on 64 MSB of the Flash memory data bus since the last read of EEFC_FSR

Bit 17 – MECCELSBD Multiple ECC Error on LSB Part of the Memory Flash Data Bus (cleared on read)

ValueDescription
0

No multiple error detected on 64 LSB of the Flash memory data bus since the last read of EEFC_FSR

1

Multiple errors detected and NOT corrected on 64 LSB of the Flash memory data bus since the last read of EEFC_FSR

Bit 16 – SECCELSBD Single ECC Error on LSB Part of the Memory Flash Data Bus (cleared on read)

ValueDescription
0

No single error detected on 64 LSB of the Flash memory data bus since the last read of EEFC_FSR

1

Single error detected but corrected on 64 LSB of the Flash memory data bus since the last read of EEFC_FSR

Bit 5 – FLSUSP Flash Suspended Status (cleared when resuming the programming operation)

ValueDescription
0

No Flash command is suspended.

1

The current Flash command is suspended.

Bit 4 – WPERR Write Protection Error Status (cleared on read)

ValueDescription
0

No write protection violation occurred since the last read of EEFC_FSR.

1

A write protection violation occurred since the last read of EEFC_FSR.

Bit 3 – FLERR Flash Error Status (cleared when a programming operation starts)

ValueDescription
0

No Flash memory error occurred at the end of programming (EraseVerify or WriteVerify test has passed).

1

A Flash memory error occurred at the end of programming (EraseVerify or WriteVerify test has failed).

Bit 2 – FLOCKE Flash Lock Error Status (cleared on read or by writing EEFC_FCR)

ValueDescription
0

No programming/erase of at least one locked region has happened since the last read of EEFC_FSR.

1

Programming/erase of at least one locked region has happened since the last read of EEFC_FSR.

Bit 1 – FCMDE Flash Command Error Status (cleared on read)

ValueDescription
0

No invalid commands and no wrong keywords were written in EEFC_FMR.

1

An invalid command and/or a wrong keyword was/were written in EEFC_FMR.

Bit 0 – FRDY Flash Ready Status (cleared when Flash is busy)

When set, this flag triggers an interrupt if the FRDY flag is set in EEFC_FMR. It is automatically cleared when the SEFC is busy.

ValueDescription
0

The SEFC is busy.

1

The SEFC is ready to start a new command.