aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Savin <43152568+SiFiveGregS@users.noreply.github.com>2019-01-16 13:36:35 -0800
committerGreg Savin <43152568+SiFiveGregS@users.noreply.github.com>2019-01-16 13:36:35 -0800
commit84870e8adad6bda0f9df36f118408621623da2f9 (patch)
tree6d04ae61c8feaeccfa177aa6cc8e8bb3be5038b4
parent2c83052b738e68066dfa4dd37e41759616aff747 (diff)
downloadriscv-openocd-84870e8adad6bda0f9df36f118408621623da2f9.zip
riscv-openocd-84870e8adad6bda0f9df36f118408621623da2f9.tar.gz
riscv-openocd-84870e8adad6bda0f9df36f118408621623da2f9.tar.bz2
Script file adjustments.
-rw-r--r--tcl/board/sifive-e31arty-onboard-ftdi-raw.cfg10
-rw-r--r--tcl/board/sifive-e31arty-onboard-ftdi.cfg2
2 files changed, 11 insertions, 1 deletions
diff --git a/tcl/board/sifive-e31arty-onboard-ftdi-raw.cfg b/tcl/board/sifive-e31arty-onboard-ftdi-raw.cfg
new file mode 100644
index 0000000..b7d1ee6
--- /dev/null
+++ b/tcl/board/sifive-e31arty-onboard-ftdi-raw.cfg
@@ -0,0 +1,10 @@
+#
+# Be sure you include the speed and interface before this file
+# Example:
+# -c "adapter_khz 5000" -f "interface/ftdi/arty-onboard-ftdi.cfg" -f "board/sifive-e31arty-onboard-ftdi.cfg"
+
+set _CHIPNAME arty
+jtag newtap $_CHIPNAME bs -irlen 6 -expected-id 0x0362d093
+
+
+echo "Ready for Remote Connections"
diff --git a/tcl/board/sifive-e31arty-onboard-ftdi.cfg b/tcl/board/sifive-e31arty-onboard-ftdi.cfg
index 1c588ee..c36e6f1 100644
--- a/tcl/board/sifive-e31arty-onboard-ftdi.cfg
+++ b/tcl/board/sifive-e31arty-onboard-ftdi.cfg
@@ -4,7 +4,7 @@
# -c "adapter_khz 5000" -f "interface/ftdi/arty-onboard-ftdi.cfg" -f "board/sifive-e31arty-onboard-ftdi.cfg"
set _CHIPNAME riscv
-jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x0362d093
+jtag newtap $_CHIPNAME cpu -irlen 6 -expected-id 0x0362d093
# Arrange for bscan tunneling mode to become active after the JTAG chain is verified
jtag configure $_CHIPNAME.cpu -event setup {