aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/aice/aice_usb.h
diff options
context:
space:
mode:
authorHellosun Wu <wujiheng.tw@gmail.com>2017-11-08 17:04:11 +0800
committerTomas Vanek <vanekt@fbl.cz>2018-07-18 21:06:51 +0100
commite36c2f2da47a4f038b6c5647d135e0b6f8d3b708 (patch)
treeae5607854b39451666d245f42a3c2f40b0c2ed8f /src/jtag/aice/aice_usb.h
parent84b571f667f376ed4e5c948acd4a0fb35adf8e98 (diff)
downloadriscv-openocd-e36c2f2da47a4f038b6c5647d135e0b6f8d3b708.zip
riscv-openocd-e36c2f2da47a4f038b6c5647d135e0b6f8d3b708.tar.gz
riscv-openocd-e36c2f2da47a4f038b6c5647d135e0b6f8d3b708.tar.bz2
nds32: Avoid detected JTAG clock
AICE2 doesn't support scan for the maximum clock frequency of JTAG chain. It will cause USB command timeout. Change-Id: I41d1e3be387b6ed5a4dd0be663385a5f053fbcf9 Signed-off-by: Hellosun Wu <wujiheng.tw@gmail.com> Reviewed-on: http://openocd.zylin.com/4292 Tested-by: jenkins Reviewed-by: Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/jtag/aice/aice_usb.h')
-rw-r--r--src/jtag/aice/aice_usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jtag/aice/aice_usb.h b/src/jtag/aice/aice_usb.h
index 2911ae5..15cc1f6 100644
--- a/src/jtag/aice/aice_usb.h
+++ b/src/jtag/aice/aice_usb.h
@@ -71,6 +71,7 @@
/* Constants for AICE command WRITE_CTRL:TCK_CONTROL */
#define AICE_TCK_CONTROL_TCK3048 0x08
+#define AICE_TCK_CONTROL_TCK_SCAN 0x10
/* Constants for AICE command WRITE_CTRL:JTAG_PIN_CONTROL */
#define AICE_JTAG_PIN_CONTROL_SRST 0x01