Compiling OpenOCD

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.

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.6.0 (In Development)
0.6.0 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.

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.