This is an automated email from Gerrit.

"Ahmed Haoues <[email protected]>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/9027

-- gerrit

commit a6367ac248f9678494a2e3b898cd16eb2e841a6e
Author: HAOUES Ahmed <[email protected]>
Date:   Thu Oct 30 10:40:58 2025 +0100

    tcl/target/stm32h7x: modify speed at OpenOCD initialization and
    drop unneeded reset-init event
    
    The speed is set to 1800 kHz at initialization, but increases to 4000 kHz
    before flash programming, with debugging continuing at this higher speed.
    So, setting 4000 kHz from the start makes sense.
    
    Change-Id: I6bccb5837c624943212b727368b40153e42ccebb
    Signed-off-by: HAOUES Ahmed <[email protected]>

diff --git a/tcl/target/stm32h7x.cfg b/tcl/target/stm32h7x.cfg
index 5aae938619..a364e0682b 100644
--- a/tcl/target/stm32h7x.cfg
+++ b/tcl/target/stm32h7x.cfg
@@ -126,7 +126,7 @@ if { [info exists QUADSPI] && $QUADSPI } {
 }
 
 # Clock after reset is HSI at 64 MHz, no need of PLL
-adapter speed 1800
+adapter speed 4000
 
 adapter srst delay 100
 if {[using_jtag]} {
@@ -198,11 +198,6 @@ $_CHIPNAME.cpu0 configure -event examine-end {
        stm32h7x_dbgmcu_mmw 0x3000 0x00000003 0
 }
 
-$_CHIPNAME.cpu0 configure -event reset-init {
-       # Clock after reset is HSI at 64 MHz, no need of PLL
-       adapter speed 4000
-}
-
 # get _CHIPNAME from current target
 proc stm32h7x_get_chipname {} {
        set t [target current]

-- 

Reply via email to