This is an automated email from Gerrit.

"PlasmaHH <plasma...@gmail.com>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8526

-- gerrit

commit 08c8472215900d033ab2ccc22fc3ab1d988235b4
Author: PlasmaHH <plasm...@gmx.net>
Date:   Thu Oct 17 12:18:47 2024 +0200

    tcl/target/stm32x5x_common.cfg: added "reset-init" to gdb-flash-erase-start
    
    target algorithm should run after reset init. Failing to do so causes
    the first "load" in gdb to fail with a timeout.
    
    Change-Id: Ifb8777f689323f659f56e7c4ce5c2c37d8f2a1c2
    Signed-off-by: PlasmaHH <plasm...@gmx.net>

diff --git a/tcl/target/stm32x5x_common.cfg b/tcl/target/stm32x5x_common.cfg
index fb3aeb18c1..72abc2588b 100644
--- a/tcl/target/stm32x5x_common.cfg
+++ b/tcl/target/stm32x5x_common.cfg
@@ -124,6 +124,7 @@ $_TARGETNAME configure -event halted {
 }
 
 $_TARGETNAME configure -event gdb-flash-erase-start {
+       reset init
        set use_secure_workarea 0
        # check if FLASH_OPTR.TZEN is enabled
        set FLASH_OPTR [mrw 0x40022040]

-- 

Reply via email to