Compiling OpenOCD

From TinCanTools
Jump to: navigation, search

Guides for compiling OpenOCD for use with the TinCanTools Flyswatter and Flyswatter2 are available here.


OpenOCD Version 0.7.0 (we recommend installing this version of OpenOCD)

Version 0.7.0 was released on May 18, 2013. It is the newest release of OpenOCD. This guide will show you how to download, compile and install OpenOCD.

Ubuntu 12.04 LTS

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

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

Version 0.6.0

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 and Flyswatter3, 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.

OpenOCD Version 0.5.0

Version 0.5.0 was released May 9, 2011. It is strongly recommended that you build OpenOCD version 0.7.0 instead.

OpenOCD 0.5.0 does not include support for the Flyswatter2 or Flyswatter3. These guides include instructions on applying a patch to add Flyswatter2/Flyswatter3 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.

OpenOCD Version 0.4.0

Version 0.4.0 was released May 2011. It is strongly recommended that you build version 0.7.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 or Flyswatter3.