0x461 STMicroelectronics MCU Cortex-M4 STM32L496xx/STM32L4A6xx STM32L4 ARM 32-bit Cortex-M4 based device Embedded SRAM Storage 0x00 RWE Single Embedded Flash Storage The Flash memory interface manages CPU AHB I-Code and D-Code accesses to the Flash memory. It implements the erase and program Flash memory operations and the read and write protection mechanisms 0xFF RWE Dual 0x8 Dual 0x8 Single 0x8 Dual 0x8 Single 0x8 OTP Storage The Data OTP memory block. It contains the one time programmable bits. 0xFF RW Single 0x4 MirrorOptionBytes Storage Mirror Option Bytes contains the extra area. 0xFF RW Dual 0x4 Option Bytes Configuration RW Read Out Protection RDP Read protection option byte. The read protection is used to protect the software code stored in Flash memory. 0x0 0x8 RW Level 0, no protection or any value other than 0xAA and 0xCC: Level 1, read protection Level 2, chip protection BOR Level BOR_LEV These bits contain the supply level threshold that activates/releases the reset. They can be written to program a new BOR level value into Flash memory 0x8 0x3 RW BOR Level 0, reset level threshold is around 1.7 V BOR Level 1, reset level threshold is around 2.0 V BOR Level 2, reset level threshold is around 2.2 V BOR Level 3, reset level threshold is around 2.5 V BOR Level 4, reset level threshold is around 2.8 V User Configuration nRST_STOP 0xC 0x1 RW Reset generated when entering Stop mode No reset generated when entering Stop mode nRST_STDBY 0xD 0x1 RW Reset generated when entering Standby mode No reset generated when entering Standby mode DualBank 0x15 0x1 RW 256 KB/512 KB Single-bank Flash: Contiguous addresses in Bank 1 256 KB/512 KB Dual-bank Flash IWDG_SW 0x10 0x1 RW Hardware independent watchdog Software independent watchdog IWDG_STOP 0x11 0x1 RW Freeze IWDG counter in stop mode IWDG counter active in stop mode IWDG_STDBY 0x12 0x1 RW Freeze IWDG counter in standby mode IWDG counter active in standby mode WWDG_SW 0x13 0x1 RW Hardware window watchdog Software window watchdog BFB2 0x14 0x1 RW Dual-bank boot disable Dual-bank boot enable nBOOT1 0x17 0x1 RW Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1 Boot from Flash if BOOT0 = 0, otherwise system memory SRAM2_PE 0x18 0x1 RW SRAM2 parity check enable SRAM2 parity check disable SRAM2_RST 0x19 0x1 RW SRAM2 erased when a system reset occurs SRAM2 is not erased when a system reset occurs nSWBOOT0 0x1A 0x1 RW BOOT0 taken from the option bit nBOOT0 BOOT0 taken from PH3/BOOT0 pin nBOOT0 This option bit sets the BOOT0 value only when nSWBOOT0=0 0x1B 0x1 RW BOOT0 = 1, boot memory depends on nBOOT1 value BOOT0 = 0, boot from main flash memory PCROP Protection (Bank 1) PCROP1_STRT Flash Bank 1 PCROP start address 0x0 0x10 RW PCROP1_END Flash Bank 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0 0x0 0x10 RW PCROP_RDP 0x1F 0x1 RW PCROP zone is kept when RDP is decreased PCROP zone is erased when RDP is decreased Write Protection (Bank 1) WRP1A_STRT The address of the first page of the Bank 1 WRP first area 0x0 0x8 RW WRP1A_END The address of the last page of the Bank 1 WRP first area 0x10 0x8 RW WRP1B_STRT The address of the first page of the Bank 1 WRP second area 0x0 0x8 RW WRP1B_END The address of the last page of the Bank 1 WRP second area 0x10 0x8 RW PCROP Protection (Bank 2) PCROP2_STRT Flash Bank 2 PCROP start address 0x0 0x10 RW PCROP2_END Flash Bank 2 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0 0x0 0x10 RW Write Protection (Bank 2) WRP2A_STRT The address of first page of the Bank 2 WRP first area 0x0 0x8 RW WRP2A_END The address of last page of the Bank 2 WRP first area 0x10 0x8 RW WRP2B_STRT The address of first page of the Bank 2 WRP second area 0x0 0x8 RW WRP2B_END The address of last page of the Bank 2 WRP second area 0x10 0x8 RW Read Out Protection RDP Read protection option byte. The read protection is used to protect the software code stored in Flash memory. 0x0 0x8 RW Level 0, no protection or any value other than 0xAA and 0xCC: Level 1, read protection Level 2, chip protection BOR Level BOR_LEV These bits contain the supply level threshold that activates/releases the reset. They can be written to program a new BOR level value into Flash memory 0x8 0x3 RW BOR Level 0, reset level threshold is around 1.7 V BOR Level 1, reset level threshold is around 2.0 V BOR Level 2, reset level threshold is around 2.2 V BOR Level 3, reset level threshold is around 2.5 V BOR Level 4, reset level threshold is around 2.8 V User Configuration IWDG_STOP 0x11 0x1 RW Freeze IWDG counter in stop mode IWDG counter active in stop mode IWDG_STDBY 0x12 0x1 RW Freeze IWDG counter in standby mode IWDG counter active in standby mode WWDG_SW 0x13 0x1 RW Hardware window watchdog Software window watchdog IWDG_SW 0x10 0x1 RW Hardware independent watchdog Software independent watchdog nRST_STOP 0xC 0x1 RW Reset generated when entering Stop mode No reset generated nRST_STDBY 0xD 0x1 RW Reset generated when entering Standby mode No reset generated DualBank 0x15 0x1 RW 256 KB/512 KB Single-bank Flash: Contiguous addresses in Bank 1 256 KB/512 KB Dual-bank Flash nRST_SHDW 0xE 0x1 RW Reset generated when entering the Shutdown mode No reset generated when entering the Shutdown mode BFB2 0x14 0x1 RW Dual-bank boot disable Dual-bank boot enable nBOOT1 0x17 0x1 RW Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1 Boot from Flash if BOOT0 = 0, otherwise system memory SRAM2_PE 0x18 0x1 RW SRAM2 parity check enable SRAM2 parity check disable SRAM2_RST 0x19 0x1 RW SRAM2 erased when a system reset occurs SRAM2 is not erased when a system reset occurs nSWBOOT0 0x1A 0x1 RW BOOT0 taken from the option bit nBOOT0 BOOT0 taken from PH3/BOOT0 pin nBOOT0 This option bit sets the BOOT0 value only when nSWBOOT0=0 0x1B 0x1 RW BOOT0 = 1, boot memory depends on nBOOT1 value BOOT0 = 0, boot from main flash memory PCROP Protection (Bank 1) PCROP1_STRT Flash Bank 1 PCROP start address 0x0 0x10 RW PCROP1_END Flash Bank 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0 0x0 0x10 RW PCROP_RDP 0x1F 0x1 RW PCROP zone is kept when RDP is decreased PCROP zone is erased when RDP is decreased Write Protection (Bank 1) WRP1A_STRT The address of the first page of the Bank 1 WRP first area 0x0 0x8 RW WRP1A_END The address of the last page of the Bank 1 WRP first area 0x10 0x8 RW WRP1B_STRT The address of the first page of the Bank 1 WRP second area 0x0 0x8 RW WRP1B_END The address of the last page of the Bank 1 WRP second area 0x10 0x8 RW PCROP Protection (Bank 2) PCROP2_STRT Flash Bank 2 PCROP start address 0x0 0x10 RW PCROP2_END Flash Bank 2 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0 0x0 0x10 RW Write Protection (Bank 2) WRP2A_STRT The address of first page of the Bank 2 WRP first area 0x0 0x8 RW WRP2A_END The address of last page of the Bank 2 WRP first area 0x10 0x8 RW WRP2B_STRT The address of first page of the Bank 2 WRP second area 0x0 0x8 RW WRP2B_END The address of last page of the Bank 2 WRP second area 0x10 0x8 RW