add openocd script to fire off svf test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 26 Sep 2020 15:08:27 +0000 (16:08 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 26 Sep 2020 15:08:27 +0000 (16:08 +0100)
src/soc/debug/test/openocd_test.sh [new file with mode: 0755]

diff --git a/src/soc/debug/test/openocd_test.sh b/src/soc/debug/test/openocd_test.sh
new file mode 100755 (executable)
index 0000000..a180766
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# run python3 debug/test/test_jtag_tap_srv.py  server &
+# then run this script.
+
+openocd -f debug/test/openocd.cfg -c init \
+                                   -c 'svf debug/test/idcode_test2.svf' \
+                                  -c shutdown