aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatthias Welwarsky <matthias@welwarsky.de>2016-01-19 22:36:54 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-02-13 23:04:49 +0000
commite026d3ff1bf31f531bf97bc151b4693a6a52f8e7 (patch)
treeb4e41251ac76c393729935d183cb321c24191759 /doc
parentde239311629e684e88a2e60d9d19c77d1fc35ae5 (diff)
downloadriscv-openocd-e026d3ff1bf31f531bf97bc151b4693a6a52f8e7.zip
riscv-openocd-e026d3ff1bf31f531bf97bc151b4693a6a52f8e7.tar.gz
riscv-openocd-e026d3ff1bf31f531bf97bc151b4693a6a52f8e7.tar.bz2
jtag ftdi: sample TDO on falling edge of TCK
Due to signal propagation delays, sampling TDO on rising TCK can become quite peculiar at fast TCK rates. However, FTDI chips offer a possiblity to sample TDO on falling edge. With this change, stable operation can be achieved at 30MHz clock even over 10cm ribbon cable. Change-Id: Icaf240535dae15512e3c60a944e22a5fbc1b0b06 Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on: http://openocd.zylin.com/3180 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 78298b8..2e45114 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2610,8 +2610,22 @@ Set a previously defined signal to the specified level.
@end itemize
@end deffn
+@deffn {Command} {ftdi_tdo_sample_edge} @option{rising}|@option{falling}
+Configure TCK edge at which the adapter samples the value of the TDO signal
+
+Due to signal propagation delays, sampling TDO on rising TCK can become quite
+peculiar at high JTAG clock speeds. However, FTDI chips offer a possiblity to sample
+TDO on falling edge of TCK. With some board/adapter configurations, this may increase
+stability at higher JTAG clocks.
+@itemize @minus
+@item @option{rising}, sample TDO on rising edge of TCK - this is the default
+@item @option{falling}, sample TDO on falling edge of TCK
+@end itemize
+@end deffn
+
For example adapter definitions, see the configuration files shipped in the
@file{interface/ftdi} directory.
+
@end deffn
@deffn {Interface Driver} {remote_bitbang}