# Do not forget the GND connection, pin 6 of the expansion header.
#
+#gdb_port 3333
+telnet_port 4444
+tcl_port 6666
+
interface bcm2835gpio
bcm2835gpio_peripheral_base 0x20000000
# 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
+
+adapter_khz 10000
+transport select jtag
+