Embedded Flash memory (FLASH) for category 2 devices RM0440
226/2126 RM0440 Rev 4
Bits 31:17 Reserved, must be kept cleared
Bit 16 BOOT_LOCK used to force boot from user Flash area
0: Boot based on the pad/option bit configuration
1: Boot forced from Main Flash memory
Caution: If BOOT_LOCK is set in association with RDP Level 1, the debug
capabilities of the device are stopped and the reset value of the
DBG_SWEN bit of the FLASH_ACR register becomes zero. If the
DBG_SWEN bit is not set by the application code after reset, there is
no way to recover from this situation.
Bits 15:8 Reserved, must be kept cleared
Bit 7:0 SEC_SIZE1: sets the number of pages used in the Securable area.
Securable area starts at @ 0x0800 0000 and its size is SEC_SIZE1 * page size.
This field can be changed in level0 only.
Any attempt to modify in level1 silently fails, and does not change register value.