# Each of the JTAG lines need a gpio number set: tck tms tdi tdo
# Header pin numbers: 23 22 19 21
#bcm2835gpio_jtag_nums 11 25 10 9
-bcm2835gpio_jtag_nums 4 27 22 17
+
+
# If you define trst or srst, use appropriate reset_config
# Header pin numbers: TRST - 26, SRST - 18
# or if you have both connected,
# reset_config trst_and_srst srst_push_pull
+
+
+# XXX dpavlin x300 pci
+bcm2835gpio_jtag_nums 4 27 22 17
+
+# not really used for altera jtag, but we have to define it to make openocd happy
+bcm2835gpio_trst_num 18
+# reset_config trst_only
+reset_config none
+
--- /dev/null
+
+adapter_khz 30
+transport select jtag
+
+#jtag newtap x300pci tap -irlen 2 -expected-id 0x171280dd -irmask 0x2
+#jtag newtap x300pci tap -irlen 10 -expected-id 0x171280dd -irmask 0x3 -ircapture 0x1
+jtag newtap x300 tap -irlen 10
+
+init
+
+# XXX /dpavlin