Skip to content

Commit d985df0

Browse files
committed
Platform: STM32WBA6
update regression.sh script to be compatible with flash_layout.h Change-Id: Ic4651000ac3c22f54f329d0e0aebb41ffb839b34 Signed-off-by: Ronan Gabou <ronan.gabou@st.com>
1 parent 0499e55 commit d985df0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform/ext/target/stm/common/stm32wbaxx/scripts/regression.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ secbootadd0=0x180188
2424
connect="-c port=SWD "$sn_option" mode=UR AP=1"
2525
connect_no_reset="-c port=SWD "$sn_option" mode=HotPlug AP=1"
2626
rdp_0="-ob RDP=0xAA TZEN=1"
27-
remove_bank1_protect="-ob SECWM1_PSTRT=0x7f SECWM1_PEND=0"
28-
remove_bank2_protect="-ob SECWM2_PSTRT=0x7f SECWM2_PEND=0"
27+
remove_bank1_protect="-ob SECWM1_PSTRT=0x7f SECWM1_PEND=0x0"
28+
remove_bank2_protect="-ob SECWM2_PSTRT=0x7f SECWM2_PEND=0x0"
2929
erase_all="-e all"
30-
default_ob1="-ob SRAM2_RST=1 SECBOOTADD0="0x180488" DBANK=1 SWAP_BANK=0 SECWM1_PSTRT=12 SECWM1_PEND=0x42 SECWM2_PSTRT=0x0 SECWM2_PEND=0x7f"
30+
default_ob1="-ob SRAM2_RST=1 SECBOOTADD0="0x180488" DBANK=1 SWAP_BANK=0 SECWM1_PSTRT=0x0 SECWM1_PEND=0x41 SECWM2_PSTRT=0x0 SECWM2_PEND=0x7f"
3131

3232
echo "Regression to RDP 0, enable tz"
3333
$stm32programmercli $connect $rdp_0

0 commit comments

Comments
 (0)