Compiling OpenOCD

From TinCanTools

Jump to: navigation, search

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


OpenOCD Version 0.5.0

0.5.0 is the newest release version of OpenOCD, released May 9, 2011. 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.


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 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.


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 or Flyswatter3.

Personal tools