This is an automated email from Gerrit.

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

-- gerrit

commit cd70f938f29cd684da826384f4edeba307f59d1a
Author: Hsiangkai Wang <[email protected]>
Date:   Fri May 31 11:47:22 2013 +0800

    aice: use keep_alive() to avoid timeout warning messages
    
    As polling $dbger, call keep_alive() to avoid timeout messages.
    
    Change-Id: Ia03d90535c2bd6049763209194c21f70fd8b7e8b
    Signed-off-by: Hsiangkai Wang <[email protected]>

diff --git a/src/jtag/aice/aice_usb.c b/src/jtag/aice/aice_usb.c
index 6b2f870..6522985 100644
--- a/src/jtag/aice/aice_usb.c
+++ b/src/jtag/aice/aice_usb.c
@@ -1490,6 +1490,9 @@ static int aice_check_dbger(uint32_t expect_status)
                        return ERROR_OK;
                }
 
+               if ((i % 30) == 0)
+                       keep_alive();
+
                long long then = 0;
                if (i == aice_count_to_check_dbger)
                        then = timeval_ms();

-- 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to