From: Rodrigo L. Rosa Date: Fri, 10 Jun 2011 19:20:18 +0000 (-0700) Subject: fix read speed improved by queueing commands X-Git-Tag: v0.5.0-rc1~32 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=f42353d82137d0a3f5e2433bae931c82b8407c74;ds=sidebyside fix read speed improved by queueing commands --- diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c index c79ee3ae3e..f503e081c6 100644 --- a/src/target/dsp5680xx.c +++ b/src/target/dsp5680xx.c @@ -714,7 +714,14 @@ static int dsp5680xx_read(struct target * target, uint32_t address, unsigned siz retval = dsp5680xx_convert_address(&address, &pmem); err_check_propagate(retval); + context.flush = 0; + int counter = FLUSH_COUNT_READ_WRITE; + for (unsigned i=0; i