[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [OpenOCD-devel] [PATCH]: 65a72f5 tcl/target/stm32f4: fix: reduce adapter speed before reset
From:       gerrit () openocd ! org (gerrit)
Date:       2016-02-28 11:55:01
Message-ID: 20160228115501.242A919842BD () mail ! openocd ! org
[Download RAW message or body]

This is an automated email from Gerrit.

Anonymous Coward (akurz@blala.de) just uploaded a new patch set to Gerrit, which you \
can find at http://openocd.zylin.com/3365

-- gerrit

commit 65a72f51708b382cf5e67af5909c473cbe6262f2
Author: Alexander Kurz <akurz@blala.de>
Date:   Sun Feb 28 12:36:19 2016 +0100

    tcl/target/stm32f4: fix: reduce adapter speed before reset
    
    The reset-init hook for this target speeds up the CPU clock and JTAG adapter
    speed. When the target is reset running with high adapter speed, a series of
    warnings "DAP transaction stalled (WAIT) - slowing down" will be generated
    since the adapter speed is not reduced to fit the slower CPU speed.
    Fix: reduction of the adapter speed before a reset is performed.
    
    Change-Id: Iabfc8e3f70311e0e71c8eed09b8a37fcbed9c58d
    Signed-off-by: Alexander Kurz <akurz@blala.de>

diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg
index c7f6ee8..2b0a799 100644
--- a/tcl/target/stm32f4x.cfg
+++ b/tcl/target/stm32f4x.cfg
@@ -120,3 +120,7 @@ $_TARGETNAME configure -event reset-init {
 	# Boost JTAG frequency
 	adapter_khz 8000
 }
+
+$_TARGETNAME configure -event reset-start {
+	adapter_khz 2000
+}

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic