This is an automated email from Gerrit.

Tomas Vanek ([email protected]) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/4752

-- gerrit

commit 72f2854a6144aad83d43c6ed7260e5852d8a7c6c
Author: Tomas Vanek <[email protected]>
Date:   Fri Nov 2 12:47:17 2018 +0100

    target/startup.tcl: execute dap init twice in specific reset config [WIP]
    
    If the device has independent TRST, SRST is configured and gates JTAG,
    use dap init after both TRST and SRST pulses.
    
    Change-Id: I9238677b78c53d290ca7d9f4c6e07774dacab0c2
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/src/target/startup.tcl b/src/target/startup.tcl
index 92cb0e0..f5c20c0 100644
--- a/src/target/startup.tcl
+++ b/src/target/startup.tcl
@@ -194,6 +194,8 @@ proc ocd_process_reset_inner { MODE } {
        reset_deassert_initial $MODE
        if { !$early_reset_init } {
                if [using_jtag] { jtag arp_init }
+       }
+       if { !$early_reset_init || ![reset_config_includes srst_nogate]} {
                dap init
        }
 

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to