From 8aeebdcef7cc8a484876e931e08b49062bc670be Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 9 May 2017 18:54:14 -0700 Subject: Work around another race condition --- src/target/riscv/riscv-013.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index d74c83c..15c924c 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -341,6 +341,7 @@ static dmi_status_t dmi_scan(struct target *target, uint16_t *address_in, int idle_count = info->dmi_busy_delay; if (exec) idle_count += info->ac_busy_delay; + idle_count += 10; if (idle_count) { jtag_add_runtest(idle_count, TAP_IDLE); -- cgit v1.1