<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/index.php?action=history&amp;feed=atom&amp;title=Bus_Pirate%3A_OpenOCD</id>
	<title>Bus Pirate: OpenOCD - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/index.php?action=history&amp;feed=atom&amp;title=Bus_Pirate%3A_OpenOCD"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Bus_Pirate:_OpenOCD&amp;action=history"/>
	<updated>2026-09-10T15:46:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Bus_Pirate:_OpenOCD&amp;diff=2647&amp;oldid=prev</id>
		<title>Jostrowski: typo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Bus_Pirate:_OpenOCD&amp;diff=2647&amp;oldid=prev"/>
		<updated>2020-01-30T09:47:02Z</updated>

		<summary type="html">&lt;p&gt;typo&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:47, 30 January 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Summary ==  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Summary ==  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Open On-Chip Debugger (OpenOCD) software was created by Dominic Rath at the University of Applied Sciences Augsburg. The goal of this software is to provide debugging tools for a lot of different debugging adapters and platforms. It has a scripting language &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which &lt;/del&gt;allows creating configuration files for e.g. custom JTAG adapters or target platform.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Open On-Chip Debugger (OpenOCD) software was created by Dominic Rath at the University of Applied Sciences Augsburg. The goal of this software is to provide debugging tools for a lot of different debugging adapters and platforms. It has a scripting language &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that &lt;/ins&gt;allows creating configuration files for e.g. custom JTAG adapters or target platform.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tutorial is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/del&gt;updated version to [https://research.kudelskisecurity.com/2014/05/01/jtag-debugging-made-easy-with-bus-pirate-and-openocd/]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tutorial is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;an &lt;/ins&gt;updated version to [https://research.kudelskisecurity.com/2014/05/01/jtag-debugging-made-easy-with-bus-pirate-and-openocd/]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jostrowski</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Bus_Pirate:_OpenOCD&amp;diff=2191&amp;oldid=prev</id>
		<title>Jostrowski: Created page with &quot;== Summary ==   Open On-Chip Debugger (OpenOCD) software was created by Dominic Rath at the University of Applied Sciences Augsburg. The goal of this software is to provide de...&quot;</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Bus_Pirate:_OpenOCD&amp;diff=2191&amp;oldid=prev"/>
		<updated>2019-11-11T15:28:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Summary ==   Open On-Chip Debugger (OpenOCD) software was created by Dominic Rath at the University of Applied Sciences Augsburg. The goal of this software is to provide de...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
Open On-Chip Debugger (OpenOCD) software was created by Dominic Rath at the University of Applied Sciences Augsburg. The goal of this software is to provide debugging tools for a lot of different debugging adapters and platforms. It has a scripting language which allows creating configuration files for e.g. custom JTAG adapters or target platform.&lt;br /&gt;
&lt;br /&gt;
This tutorial is a updated version to [https://research.kudelskisecurity.com/2014/05/01/jtag-debugging-made-easy-with-bus-pirate-and-openocd/]&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* OS: Linux&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In order to complete these steps, you must have followed [[Bus Pirate: First steps]] before.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In order to use OpenOCD on the Bus Pirate you need a firmware version of &amp;#039;&amp;#039;&amp;#039;6+&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
; Download OpenOCD:&lt;br /&gt;
: &amp;lt;code&amp;gt;git clone https://github.com/arduino/OpenOCD.git&amp;lt;/code&amp;gt;&lt;br /&gt;
: Install dependencies for the OpenOCD build:&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo apt-get install autotools-dev&amp;lt;/code&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo apt-get install automake&amp;lt;/code&amp;gt;&lt;br /&gt;
; Compile code&lt;br /&gt;
: &amp;lt;code&amp;gt;cd OpenOCD&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;./bootsrap&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;./configure --enable-maintainer-mode --disable-werror --enable-buspirate&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;sudo make install&amp;lt;/code&amp;gt;&lt;br /&gt;
; Configure OpenOCD&amp;#039;s buspirate.cfg&lt;br /&gt;
: &amp;lt;code&amp;gt;nano tcl/interface/buspirate.cfg&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # Buspirate with OpenOCD support&lt;br /&gt;
 #&lt;br /&gt;
 # http://dangerousprototypes.com/bus-pirate-manual/&lt;br /&gt;
 #&lt;br /&gt;
 interface buspirate&lt;br /&gt;
 # you need to specify port on which BP lives&lt;br /&gt;
 buspirate_port /dev/ttyUSB0                     (select the correct PORT!!!)&lt;br /&gt;
 # communication speed setting&lt;br /&gt;
 buspirate_speed normal ;# or fast&lt;br /&gt;
 # voltage regulator Enabled = 1 Disabled = 0&lt;br /&gt;
 buspirate_vreg 0&lt;br /&gt;
 # pin mode normal or open-drain&lt;br /&gt;
 buspirate_mode open-drain&lt;br /&gt;
 # pullup state Enabled = 1 Disabled = 0&lt;br /&gt;
 buspirate_pullup 1&lt;br /&gt;
 # this depends on the cable, you are safe with this option&lt;br /&gt;
 reset_config srst_only&lt;br /&gt;
&lt;br /&gt;
; Connect Bus Pirate and OpenOCD&lt;br /&gt;
: Connect the Bus Pirate to the computer&lt;br /&gt;
: Start OpenOCD&lt;br /&gt;
: &amp;lt;code&amp;gt;cd OpenOCD&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;sudo openocd -f tcl/interface/buspirate.cfg&amp;lt;/code&amp;gt;&lt;br /&gt;
: (Errors might appear)&lt;br /&gt;
&lt;br /&gt;
 $ sudo openocd -f tcl/interface/buspirate.cfg              &lt;br /&gt;
 Open On-Chip Debugger 0.10.0-rc1-dev-gc404ff5d-dirty (2019-11-11-15:43)&lt;br /&gt;
 Licensed under GNU GPL v2&lt;br /&gt;
 For bug reports, read&lt;br /&gt;
 	http://openocd.org/doc/doxygen/bugs.html&lt;br /&gt;
 Warn : Adapter driver &amp;#039;buspirate&amp;#039; did not declare which transports it allows; assuming legacy JTAG-only&lt;br /&gt;
 Info : only one transport option; autoselect &amp;#039;jtag&amp;#039;&lt;br /&gt;
 srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst&lt;br /&gt;
 Info : Buspirate Interface ready!&lt;br /&gt;
 Info : This adapter doesn&amp;#039;t support configurable speed&lt;br /&gt;
 Warn : There are no enabled taps.  AUTO PROBING MIGHT NOT WORK!!&lt;br /&gt;
 Error: JTAG scan chain interrogation failed: all ones&lt;br /&gt;
 Error: Check JTAG interface, timings, target power, etc.&lt;br /&gt;
 Error: Trying to use configured scan chain anyway...&lt;br /&gt;
 Warn : Bypassing JTAG setup events due to errors&lt;br /&gt;
 Warn : gdb services need one or more targets defined&lt;br /&gt;
&lt;br /&gt;
; Start OpenOCD session&lt;br /&gt;
: Open a new terminal tab&lt;br /&gt;
: type: &amp;lt;code&amp;gt;telnet localhost 4444&amp;lt;/code&amp;gt;&lt;br /&gt;
: The OpenOCD terminal should open&lt;br /&gt;
: Type &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; for all possible operations&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Bus Pirate v3.6 Universal serial interface]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://research.kudelskisecurity.com/2014/05/01/jtag-debugging-made-easy-with-bus-pirate-and-openocd/&lt;br /&gt;
* https://github.com/arduino/OpenOCD&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Jostrowski</name></author>
	</entry>
</feed>