3.6.31 MPDDRC Write Protection Status Register

Name: MPDDRC_WPSR
Offset: 0xE8
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
 ECLASS     SWETYP[1:0] 
Access RRR 
Reset 000 
Bit 2322212019181716 
 WPVSRC[15:8] 
Access RRRRRRRR 
Reset 00000000 
Bit 15141312111098 
 WPVSRC[7:0] 
Access RRRRRRRR 
Reset 00000000 
Bit 76543210 
     SWESEQECGDWPVS 
Access RRRR 
Reset 0000 

Bit 31 – ECLASS Software Error Class (cleared on read)

0 (WARNING): An abnormal access that does not affect system functionality is performed.

1 (ERROR): An access is performed into some registers after memory device initialization sequence.

Bits 25:24 – SWETYP[1:0] Software Error Type (cleared on read)

ValueNameDescription
0 READ_WO

A write-only register has been read (warning).

1 WRITE_RO

MPDDRC is enabled and a write access has been performed on a read-only register (warning).

2 UNDEF_RW

Access to an undefined address (warning).

3 W_AFTER_INIT

Abnormal use of MPDDRC user interface when memory device is already configured and initialized, i.e., if MPDDRC_RTR.COUNT > 0 (error).

Bits 23:8 – WPVSRC[15:0] Write Protection Violation Source

When WPVS = 1, WPVSRC indicates the register address offset at which a write access has been attempted.

Bit 3 – SWE Software Control Error (cleared on read)

ValueDescription
0

No software error has occurred since the last read of MPDDRC_WPSR.

1

A software error has occurred since the last read of MPDDRC_WPSR. The field SWE details the type of software error. The associated incorrect software access is reported in the field WPVSRC (if WPVS=0).

Bit 2 – SEQE Internal Sequencer Error or Non-Correctable Error on Configuration Registers (cleared on read)

ValueDescription
0

In the registers listed below, no peripheral internal sequencer error has occurred or no single error has occurred since the last read of MPDDRC_WPSR:

  • Mode register (MPDDRC_MR)

  • Memory Device register (MPDDRC_MD

  • Refresh Timer register (MPDDRC_RTR)

  • Timing Parameter 0/1/2 registers (MPDDRC_TPR0/1/2)

  • Low-Power register (MPDDRC_LPR)

  • Configuration register (MPDDRC_CR)

  • OCMS KEY1 register (MPDDRC_OCMS_KEY1)

  • OCMS KEY2 register (MPDDRC_OCMS_KEY2)

1
A peripheral internal sequencer error has occurred since the last read of MPDDRC_WPSR. In the registers listed below, this flag can only be set under abnormal operating conditions or if a non-correctable error has occurred since the last read of MPDDRC_WPSR:
  • Mode register (MPDDRC_MR)

  • Memory Device register (MPDDRC_MD

  • Refresh Timer register (MPDDRC_RTR)

  • Timing Parameter 0/1/2 registers (MPDDRC_TPR0/1/2)

  • Low-Power register (MPDDRC_LPR)

  • Configuration register (MPDDRC_CR)

  • OCMS KEY1 register (MPDDRC_OCMS_KEY1)

  • OCMS KEY2 register (MPDDRC_OCMS_KEY2)

Note: The error is not corrected and the software must reconfigure all registers.

Bit 1 – CGD Clock Glitch Detected (cleared on read)

ValueDescription
0

The clock monitoring circuitry has not been corrupted since the last read of MPDDRC_WPSR. Under normal operating conditions, this bit is always cleared.

1

The clock monitoring circuitry has been corrupted since the last read of MPDDRC_WPSR. This flag can only be set in case of an abnormal clock signal waveform (glitch).

Bit 0 – WPVS Write Protection Enable

ValueDescription
0

No write protection violation occurred since the last read of this register (MPDDRC_WPSR).

1

A write protection violation occurred since the last read of this register (MPDDRC_WPSR). If this violation is an unauthorized attempt to write a control register, the associated violation is reported into the WPVSRC field.