EasyManua.ls Logo

ST SPC560P34 - Table 149. MCR Field Descriptions; Figure 153. Module Configuration Register (MCR)

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
342/936 Doc ID 16912 Rev 5
Module Configuration Register (MCR)
The Module Configuration Register enables and monitors all the modify operations of each
Flash module. Identical MCRs are provided in the code Flash and the data Flash blocks.
Figure 153. Module Configuration Register (MCR)
Address:
Base + 0x0000 Access: User read/write
0123456789101112131415
REDC0000
SIZE2 SIZE1 SIZE0
0 LAS2 LAS1 LAS0 0 0 0 MAS
Wr1c
Reset00000
(1)
(1)
(1)
0—
(1)
100000
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R EER RWE 0 0
PEAS
DONE
PEG0000
PGM
PSUS
ERS
ESUS
EHV
Wr1c r1c
Reset0000011000000000
1. The value for this bit is different between the code and data Flash modules. See the bitfield description.
Table 149. MCR field descriptions
Field Description
EDC
0
ECC Data Correction
EDC provides information on previous reads. If a ECC Single Error detection and correction occurs,
the EDC bit is set to 1. This bit must then be cleared, or a reset must occur before this bit will return
to a 0 state. This bit may not be set to 1 by the user.
In the event of a ECC Double Error detection, this bit is not set.
If EDC is not set, or remains 0, this indicates that all previous reads (from the last reset, or clearing
of EDC) were not corrected through ECC.
Since this bit is an error flag, it must be cleared to 0 by writing 1 to the register location. A write of 0
will have no effect.
0 Reads are occurring normally.
1 An ECC Single Error occurred and was corrected during a previous read.
1:4
Reserved (Read Only)
A write to these bits has no effect. A read of these bits always outputs 0.
SIZE[2:0]
5:7
Array space SIZE 2–0
The value of SIZE field depends on the size of the Flash module:
000 128 KB
001 256 KB (the value for the SPC560P40/34 device in the code Flash module)
010 512 KB
011 Reserved (1024 KB)
100 Reserved (1536 KB)
101 Reserved (2048 KB)
110 64 KB (the value for the device in the data Flash module)
111 Reserved
The value for this bitfield is different between the code and data Flash modules.
8
Reserved (Read Only)
A write to these bits has no effect. A read of these bits always outputs 0.

Table of Contents

Related product manuals