This is an automated email from Gerrit. Yann Vernier ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1049
-- gerrit commit 2eabb6903de47a120f99567dfb3502900fd3832f Author: Yann Vernier <[email protected]> Date: Tue Dec 11 12:52:24 2012 +0100 ft2232: fix input scan ending in drshift/irshift The final bit was incorrectly added as output data, even if no data was to be written. Changed it to match handling of other bits. Change-Id: I91e5ba0c932876bfb579c22e6c7ef0300baa1534 Signed-off-by: Yann Vernier <[email protected]> diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 6758dc7..e912a7a 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -1060,7 +1060,8 @@ static void ft2232_add_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, /* LOG_DEBUG("added TDI bits (i %i)", bits_left - 1); */ } buffer_write(0x0); - buffer_write(last_bit); + if (type != SCAN_IN) + buffer_write(last_bit); } else { int tms_bits; int tms_count; -- ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
