EasyManua.ls Logo

ST SPC560P34 - Page 344

ST SPC560P34
936 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flash Memory RM0046
344/936 Doc ID 16912 Rev 5
PEAS
20
Program/Erase Access Space
PEAS indicates which space is valid for program and Erase operations: main array space or
shadow/test space.
PEAS = 0 indicates that the main address space is active for all Flash module program and erase
operations.
PEAS = 1 indicates that the test or shadow address space is active for program and erase.
The value in PEAS is captured and held with the first interlock write done for Modify operations. The
value of PEAS is retained between sampling events (that is, subsequent first interlock writes).
0 Shadow/Test address space is disabled for program/erase and main address space enabled.
1 Shadow/Test address space is enabled for program/erase and main address space disabled.
DONE
21
Modify Operation Done
DONE indicates if the Flash module is performing a high voltage operation.
DONE is set to 1 on termination of the Flash module reset.
DONE is cleared to 0 just after a 0-to-1 transition of EHV, which initiates a high voltage operation, or
after resuming a suspended operation.
DONE is set to 1 at the end of program and erase high voltage sequences.
DONE is set to 1 (within t
PAB T
or t
EABT
, equal to P/E Abort Latency) after a 1-to-0 transition of EHV,
which terminates a high voltage program/erase operation.
DONE is set to 1 (within t
ESUS
, time equal to Erase Suspend Latency) after a 0-to-1 transition of
ESUS, which suspends an erase operation.
0 Flash is executing a high voltage operation.
1 Flash is not executing a high voltage operation.
PEG
22
Program/Erase Good
The PEG bit indicates the completion status of the last Flash program or erase sequence for which
high voltage operations were initiated. The value of PEG is updated automatically during the
program and erase high voltage operations.
Aborting a program/erase high voltage operation causes PEG to be cleared to 0, indicating the
sequence failed.
PEG is set to 1 when the Flash module is reset, unless a Flash initialization error has been
detected.
The value of PEG is valid only when PGM = 1 and/or ERS = 1 and after DONE transitions from 0 to
1 due to a termination or the completion of a program/erase operation. PEG is valid until PGM/ERS
makes a 1-to-0 transition or EHV makes a 0-to-1 transition.
The value in PEG is not valid after a 0-to-1 transition of DONE caused by ESUS being set to logic 1.
If program or erase are attempted on blocks that are locked, the response is PEG = 1, indicating that
the operation was successful, and the content of the block were properly protected from the
program or erase operation.
If a program operation tries to program at 1 bits that are at 0, the program operation is correctly
executed on the new bits to be programmed at 0, but PEG is cleared, indicating that the requested
operation has failed.
In Array Integrity Check or Margin Mode, PEG is set to 1 when the operation is completed,
regardless
the occurrence of any error. The presence of errors can be detected only comparing checksum
value
stored in UMIRS[0:1].
0 Program or erase operation failed; or program, erase, Array Integrity Check, or Margin Mode was
terminated.
1 Program or erase operation successful; or Array Integrity Check or Margin Mode completed
successfully.
Table 149. MCR field descriptions (continued)
Field Description

Table of Contents

Related product manuals