This is an automated email from Gerrit.

"zapb <d...@zapb.de>" just uploaded a new patch set to Gerrit, which you can 
find at https://review.openocd.org/c/openocd/+/8823

-- gerrit

commit acba98a9c1e9be6ce4a5944d90267c57842b1828
Author: Marc Schink <d...@zapb.de>
Date:   Tue Apr 1 04:34:27 2025 +0000

    tcl/target/stm32f4x: Enable the GPIOE clock
    
    Enable the GPIOE clock, otherwise the following pin configurations have
    no effect.
    
    Change-Id: I3942d2527c64340463c3b6c607addb4214f83081
    Signed-off-by: Marc Schink <d...@zapb.de>

diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg
index 35d8275b55..a77527c46d 100644
--- a/tcl/target/stm32f4x.cfg
+++ b/tcl/target/stm32f4x.cfg
@@ -98,6 +98,9 @@ proc _proc_pre_enable_$_CHIPNAME.tpiu {_chipname} {
        targets $_chipname.cpu
 
        if { [$_chipname.tpiu cget -protocol] eq "sync" } {
+               # Enable the GPIOE clock.
+               mmw 0x40023830 0x00000010 0x00000010
+
                switch [$_chipname.tpiu cget -port-width] {
                        1 {
                                # Set TRACE_IOEN; TRACE_MODE to sync 1 bit; 
GPIOE[2-3] to AF0

-- 

Reply via email to