stm32 /stm32h5 /STM32H533 /OTFDEC /OTFDEC_R2CFGR

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 OTFDEC_R2CFGR

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)REG_EN 0 (B_0x0)CONFIGLOCK 0 (B_0x0)KEYLOCK 0MODE 0KEYCRC0REG_VERSION

REG_EN=B_0x0, KEYLOCK=B_0x0, CONFIGLOCK=B_0x0

Description

OTFDEC region 2 configuration register

Fields

REG_EN

region on-the-fly decryption enable

0 (B_0x0): On-the-fly decryption is disabled for this region.

1 (B_0x1): On-the-fly decryption is enabled for this region.

CONFIGLOCK

region config lock

0 (B_0x0): Writes to this region OTFDEC_RxCFGR, OTFDEC_RxSTARTADDR, OTFDEC_RxENDADDR and OTFDEC_RxNONCERy registers are allowed.

1 (B_0x1): Writes to this region OTFDEC_RxCFGR, OTFDEC_RxSTARTADDR, OTFDEC_RxENDADDR and OTFDEC_RxNONCERy registers are ignored until next OTFDEC reset.

KEYLOCK

region key lock

0 (B_0x0): Writes to this region KEYRx registers are allowed.

1 (B_0x1): Writes to this region KEYRx registers are ignored until next OTFDEC reset.

MODE

operating mode

2 (B_0x2): All read accesses are decrypted (instruction or data).

3 (B_0x3): Enhanced encryption mode is activated, and only instruction accesses are decrypted

KEYCRC

region key 8-bit CRC

REG_VERSION

region firmware version

Links

()