STMicroelectronics /STM32U575 /FLASH /FLASH_SECCR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as FLASH_SECCR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)PG 0 (B_0x0)PER 0 (MER1)MER1 0PNB0 (B_0x0)BKER 0 (BWR)BWR 0 (MER2)MER2 0 (STRT)STRT 0 (B_0x0)EOPIE 0 (B_0x0)ERRIE 0 (RDERRIE)RDERRIE 0 (INV)INV 0 (LOCK)LOCK

EOPIE=B_0x0, ERRIE=B_0x0, BKER=B_0x0, PER=B_0x0, PG=B_0x0

Description

FLASH secure control register

Fields

PG

Secure programming

0 (B_0x0): Secure Flash programming disabled

1 (B_0x1): Secure Flash programming enabled

PER

Secure page erase

0 (B_0x0): Secure page erase disabled

1 (B_0x1): Secure page erase enabled

MER1

Secure bank 1 mass erase This bit triggers the bank 1 secure mass erase (all bank 1 user pages) when set.

PNB

Secure page number selection These bits select the page to erase: …

BKER

Secure bank selection for page erase

0 (B_0x0): Bank 1 selected for secure page erase

1 (B_0x1): Bank 2 selected for secure page erase

BWR

Secure burst write programming mode When set, this bit selects the burst write programming mode.

MER2

Secure bank 2 mass erase This bit triggers the bank 2 secure mass erase (all bank 2 user pages) when set.

STRT

Secure start This bit triggers a secure erase operation when set. If MER1, MER2 and PER bits are reset and the STRT bit is set, the PGSERR in the FLASH_SECSR is set (this condition is forbidden). This bit is set only by software and is cleared when the BSY bit is cleared in FLASH_SECSR.

EOPIE

Secure End of operation interrupt enable This bit enables the interrupt generation when the EOP bit in the FLASH_SECSR is set to 1.

0 (B_0x0): Secure EOP Interrupt disabled

1 (B_0x1): Secure EOP Interrupt enabled

ERRIE

Secure error interrupt enable

0 (B_0x0): Secure OPERR error interrupt disabled

1 (B_0x1): Secure OPERR error interrupt enabled

RDERRIE

Secure PCROP read error interrupt enable

INV

Flash memory security state invert This bit inverts the Flash memory security state.

LOCK

Secure lock This bit is set only. When set, the FLASH_SECCR register is locked. It is cleared by hardware after detecting the unlock sequence in FLASH_SECKEYR register. In case of an unsuccessful unlock operation, this bit remains set until the next system reset.

Links

()