From dfe06fb8d91342e138e1a41d3f8db45154e575f9 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 12 Jun 2016 15:39:31 +0200 Subject: [PATCH] added x300 dongle cable config --- rpi-dongle-cable.cfg | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 rpi-dongle-cable.cfg diff --git a/rpi-dongle-cable.cfg b/rpi-dongle-cable.cfg new file mode 100644 index 0000000..5fafd8e --- /dev/null +++ b/rpi-dongle-cable.cfg @@ -0,0 +1,32 @@ +# +# Config for using Raspberry Pi's expansion header +# +# This is best used with a fast enough buffer but also +# is suitable for direct connection if the target voltage +# matches RPi's 3.3V and the cable is short enough. +# +# 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 + +# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET +# These depend on system clock, calibrated for stock 700MHz +# bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET +bcm2835gpio_speed_coeffs 113714 28 + +# XXX dpavlin x300 dongle +# Each of the JTAG lines need a gpio number set: tck tms tdi tdo +bcm2835gpio_jtag_nums 17 27 22 18 + +# not really used for altera jtag, but we have to define it to make openocd happy +bcm2835gpio_trst_num 31 +# reset_config trst_only +reset_config none + -- 2.20.1