aice: use keep_alive() to avoid timeout warning messages
[fw/openocd] / src / jtag / aice / aice_usb.c
index 6b2f87031fd919b4f14652760ef5ebf69793fd80..652298559ebbe22efc8bb14369621600caac8991 100644 (file)
@@ -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();