]> git.sur5r.net Git - openocd/commit
jtag/drivers/ftdi: Use adapter_khz value for initial clock speed (was default 1kHz)
authorAngus Gratton <gus@projectgus.com>
Sat, 19 Jul 2014 08:50:55 +0000 (18:50 +1000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 19 Aug 2014 20:26:26 +0000 (20:26 +0000)
commitd50cc1bfea61b161deca9af20d6871dc53bca93b
tree7e3bd664843914809b7860bab279f5ca09270b3f
parent32e0fa6bcb3ffe39c60a040bd6e95751a7a96ff9
jtag/drivers/ftdi: Use adapter_khz value for initial clock speed (was default 1kHz)

nrf51822 doesn't like a 1kHz initial clock rate, puts the DAP into a bad state.

Mailing list discussion thread: http://sourceforge.net/p/openocd/mailman/openocd-devel/thread/20140718081528.GA5554%40ex2.lan/#msg32621853

Change-Id: I71aa75505cc1b41ee80c7b9db415f6ac738c2916
Signed-off-by: Angus Gratton <gus@projectgus.com>
Reviewed-on: http://openocd.zylin.com/2223
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/jtag/drivers/ftdi.c