This is an automated email from Gerrit. simon qian (open...@versaloon.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2608
-- gerrit commit f0857f72bfcbe3be3f4e4c1059633ec3b36947f1 Author: Simon Qian <open...@versaloon.com> Date: Tue Mar 17 00:11:09 2015 +0800 configure the SWD frequency when setting adapter speed in SWD mode for versaloon Change-Id: I99cdc11ba1442e4c9efaa0f1de8e7089ec725e14 Signed-off-by: Simon Qian <open...@versaloon.com> diff --git a/src/jtag/drivers/vsllink.c b/src/jtag/drivers/vsllink.c index 844f6f2..f82dff9 100644 --- a/src/jtag/drivers/vsllink.c +++ b/src/jtag/drivers/vsllink.c @@ -242,8 +242,10 @@ static int vsllink_execute_queue(void) static int vsllink_speed(int speed) { - if (swd_mode) + if (swd_mode) { + vsllink_swd_frequency(NULL, speed * 1000); return ERROR_OK; + } versaloon_interface.adaptors.jtag_raw.config(0, (uint16_t)speed); return versaloon_interface.adaptors.peripheral_commit(); -- ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel