|
From: openocd-gerrit <ope...@us...> - 2025-11-06 08:11:14
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 1afb3e75f003d3b2a1bf76fde8797a1ea8312189 (commit)
from 03b79387cce39fc2b88874f547dd3f9633b0b31b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1afb3e75f003d3b2a1bf76fde8797a1ea8312189
Author: HAOUES Ahmed <ahm...@st...>
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 <ahm...@st...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9027
Reviewed-by: Tomas Vanek <va...@fb...>
Tested-by: jenkins
diff --git a/tcl/target/stm32h7x.cfg b/tcl/target/stm32h7x.cfg
index 5aae93861..a364e0682 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]
-----------------------------------------------------------------------
Summary of changes:
tcl/target/stm32h7x.cfg | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|