forked from auracaster/openocd
flash/stm32l4x: Fix permanent write protection on STM32WBA5
STM32WBA5 has an UNLOCK bit in FLASH_WRPAR and FLASH_WRPBR registers Change-Id: I4b8fe4aaa9cd336f07aaf5bad0c44834ead70499 Signed-off-by: HAOUES Ahmed <ahmed.haoues@st.com> Reviewed-on: https://review.openocd.org/c/openocd/+/9358 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
committed by
Tomas Vanek
parent
4593222e85
commit
67153cf3d5
@@ -751,7 +751,8 @@ static const struct stm32l4_part_info stm32l4_parts[] = {
|
||||
.num_revs = ARRAY_SIZE(stm32wba5x_revs),
|
||||
.device_str = "STM32WBA5x",
|
||||
.max_flash_size_kb = 1024,
|
||||
.flags = F_QUAD_WORD_PROG | F_HAS_TZ | F_HAS_L5_FLASH_REGS,
|
||||
.flags = F_QUAD_WORD_PROG | F_HAS_TZ | F_HAS_L5_FLASH_REGS
|
||||
| F_WRP_HAS_LOCK,
|
||||
.flash_regs_base = 0x40022000,
|
||||
.fsize_addr = 0x0FF907A0,
|
||||
.otp_base = 0x0FF90000,
|
||||
|
||||
Reference in New Issue
Block a user