Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Compiling OpenOCD

From eLinux.org
Revision as of 01:13, 22 May 2013 by Wmat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Guides for compiling OpenOCD for use with various hardware debuggers are available here. If you use OpenOCD with a tool that is not listed, please feel free to add it. Alternatively, if you would like to donate a tool to the community, please email the Administrator for further instructions.

TinCanTools Flyswatter

In all cases below, libFTDI is the opensource version of FTDI library and is the recommended one to use. A comparison of license and performance of libFTDI and libFTD2xx can be found HERE.


Version 0.7.0

OpenOCD version 0.7.0 was released on May 5, 2013. This guide describes how to obtain and build version 0.7.0 from the official release tarball. If you want the latest OpenOCD code, please refer to the above section for obtaining, building and running OpenOCD from the master branch.

Ubuntu 13.04

Compiling OpenOCD v0.7.0 on Ubuntu 13.04 - This guide uses the libFTDI open source driver library as distributed with Ubuntu 13.04.

Version 0.6.1

0.6.1 is the version of OpenOCD currently in development. These guides use most recent revision of the source code, downloaded from the git repository at git://openocd.git.sourceforge.net/gitroot/openocd/openocd. This version has the advantage of already including support for the Flyswatter2, but the code is subject to change at any time. If you have trouble with any of these guides try OpenOCD 0.5.0 instead.

Windows 7

Also use these instructions if compiling on Windows Vista.

Compiling OpenOCD v06 Win7 - This guide uses the libFTDI open source driver library.

Compiling OpenOCD v06 Win7 D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Windows XP

Compiling OpenOCD v06 WinXP - This guide uses the libFTDI open source driver library.

Compiling OpenOCD v06 WinXP D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Ubuntu 10.04

Compiling OpenOCD v06 Linux - This guide uses the libFTDI open source driver library.

Compiling OpenOCD v06 Linux D2XX - This guide uses the D2XX driver library from Future Technology Devices International.

Fedora 17

Compiling OpenOCD v06 Fedora 17 Linux - This guide uses the libFTDI open source driver library.

OpenOCD Version 0.5.0

0.5.0 is the last stable release of OpenOCD, released May 9, 2011. OpenOCD 0.5.0 does not include support for the Flyswatter2. These guides include instructions on applying a patch to add Flyswatter2 support.

Windows 7

Also use these instructions if compiling on Windows Vista.

Compiling OpenOCD Win7 - This guide uses the libFTDI open source driver library.

Compiling OpenOCD Win7 D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Windows XP

Compiling OpenOCD WinXP - This guide uses the libFTDI open source driver library.

Compiling OpenOCD WinXP D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Ubuntu 10.04

Compiling OpenOCD Linux - This guide uses the libFTDI open source driver library.

Compiling OpenOCD Linux D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Version 0.4.0

Version 0.4.0 is out of date as of May 2011. It is strongly recommended that you build version 0.5.0 or 0.6.0 instead.


Windows 7

Compiling OpenOCD v04 Win7 - This guide uses the libFTDI open source driver library.

Compiling OpenOCD v04 Win7 D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Windows XP

Compiling OpenOCD v04 WinXP - This guide uses the libFTDI open source driver library.

Compiling OpenOCD v04 WinXP D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


Ubuntu 10.04

Compiling OpenOCD v04 Linux - This guide uses the libFTDI open source driver library.

Compiling OpenOCD v04 Linux D2XX - This guide uses the D2XX driver library from Future Technology Devices International.


OpenOCD Ubuntu Package - OpenOCD is also available through the Ubuntu package if you wish to install with apt-get rather than compiling it yourself. This package does not include support for the Flyswatter2.

Other JTAG Hardware