From: Tilman Sauerbeck Date: Mon, 3 Jun 2019 19:19:07 +0000 (+0200) Subject: jtag: drivers: buspirate: chunk SWD switch sequence transfer. X-Git-Tag: v0.11.0-rc1~624 X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=8ed19a2e29bd438db055b2bcda336ddf5a041410;hp=8ed19a2e29bd438db055b2bcda336ddf5a041410;p=openocd.git jtag: drivers: buspirate: chunk SWD switch sequence transfer. Commit c2e18bfaeafd changed the size of the JTAG-to-SWD sequence from 15 bytes to 17 bytes. This broke SWD switch sequence transfer for buspirate, since buspirate packets can only hold a payload of up to 16 bytes and we tried to fit the whole sequence in a single packet. Splitting up the sequence transfer in appropriately sized packets makes buspirate SWD work again (successfully tested with buspirate firmwares v6.1 and v7.0). Change-Id: Ib5b412b9e77287d705d2762e31c16d30318b50e3 Signed-off-by: Tilman Sauerbeck Reviewed-on: http://openocd.zylin.com/5200 Tested-by: jenkins Reviewed-by: Antonio Borneo Reviewed-by: Tomas Vanek ---