]> git.sur5r.net Git - openocd/commit
svf: Only read TDO back from the device if we actually need to look at the bits.
authorJoshua Wise <joshua@joshuawise.com>
Fri, 16 May 2014 08:08:43 +0000 (01:08 -0700)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 22 Jun 2014 08:32:13 +0000 (08:32 +0000)
commitdd4e3a2406f97e19487aaaecbaaa3c542169e7af
treed68b0e5f6e48943600d6d55ffb3cb4d12f127746
parentf9e82f3ffb5dcf6a11770a79b193812f94de8582
svf: Only read TDO back from the device if we actually need to look at the bits.

This results in a 90% speedup on USB-Blaster, which serializes repeated
TDI input against TDO readback; program time on an 5CGXFC5C6F27 part was
dropped from 2m30s to 9s.

Signed-off-by: Joshua Wise <joshua@joshuawise.com>
Change-Id: I92d5a8b800492283d619328549235b610528c338
Reviewed-on: http://openocd.zylin.com/2145
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/svf/svf.c