This is an automated email from Gerrit.

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

-- gerrit

commit 9d0df1bfd63df319da02145f50b1c5ff72b7e4f0
Author: Matthias Welwarsky <[email protected]>
Date:   Thu Jan 12 16:10:34 2017 +0100

    adi_v5_jtag: make sure SSTICKYERR is cleared after a POR
    
    Don't terminate the transaction end-check early if debug power-loss
    was detected, without clearing SSTICKYERR.
    
    Change-Id: I83b6a4a20523eea42e48a15297f972a730aa21a8
    Signed-off-by: Matthias Welwarsky <[email protected]>

diff --git a/src/target/adi_v5_jtag.c b/src/target/adi_v5_jtag.c
index 2717c9e..0435097 100644
--- a/src/target/adi_v5_jtag.c
+++ b/src/target/adi_v5_jtag.c
@@ -574,8 +574,6 @@ static int jtagdp_transaction_endcheck(struct adiv5_dap 
*dap)
                if ((ctrlstat & (CDBGPWRUPREQ | CDBGPWRUPACK | CSYSPWRUPREQ | 
CSYSPWRUPACK)) !=
                                                (CDBGPWRUPREQ | CDBGPWRUPACK | 
CSYSPWRUPREQ | CSYSPWRUPACK)) {
                        LOG_ERROR("Debug regions are unpowered, an unexpected 
reset might have happened");
-                       retval = ERROR_JTAG_DEVICE_ERROR;
-                       goto done;
                }
 
                if (ctrlstat & SSTICKYERR)

-- 

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to