summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorMichal Demin <michaldemin@gmail.com>2010-03-08 13:45:14 +0100
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-03-11 11:35:50 -0800
commit24e1e3dd2699b817fa72a7843d36197abcd9e3a3 (patch)
tree47504221c471e548bb37db01b47058fb2f2083b2 /tcl
parent591e0bbab957e86c8b2c6e19420a8cd9f89993cd (diff)
downloadopenocd+libswd-24e1e3dd2699b817fa72a7843d36197abcd9e3a3.tar.gz
openocd+libswd-24e1e3dd2699b817fa72a7843d36197abcd9e3a3.tar.bz2
openocd+libswd-24e1e3dd2699b817fa72a7843d36197abcd9e3a3.tar.xz
openocd+libswd-24e1e3dd2699b817fa72a7843d36197abcd9e3a3.zip
Add support for Bus Pirate as a JTAG adapter.
This includes a driver and matching config file. This support needs to be enabled through the initial "configure" (use "--enable-buspirate"). Signed-off-by: Michal Demin <michaldemin@gmail.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/interface/buspirate.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/tcl/interface/buspirate.cfg b/tcl/interface/buspirate.cfg
new file mode 100644
index 00000000..9c7e0e70
--- /dev/null
+++ b/tcl/interface/buspirate.cfg
@@ -0,0 +1,26 @@
+#
+# Buspirate with OpenOCD support
+#
+# http://dangerousprototypes.com/bus-pirate-manual/
+#
+
+interface buspirate
+
+# you need to specify port on which BP lives
+#buspirate_port /dev/ttyUSB0
+
+# communication speed setting
+buspirate_speed normal # or fast
+
+# voltage regulator Enabled = 1 Disabled = 0
+#buspirate_vreg 0
+
+# pin mode normal or open-drain
+#buspirate_mode normal
+
+# pullup state Enabled = 1 Disabled = 0
+#buspirate_pullup 0
+
+# this depends on the cable, you are safe with this option
+reset_config srst_only
+