You will need a newer version of libusb than the one distributed through the Cygwin installer, and you will need libusb for Windows as well. Libusb is a usb driver library you will need to communicate with the Flyswatter. Make sure that the Select Required Packages checkbox is checked before you proceed.
Cygwin will inform you that it must install additional packages to satisfy the above packages’ dependencies. Install the following optional packages, found under the Devel heading:Ĭheck all of these packages and click Next. In the Cygwin installer you will be prompted to select additional packages to install. If you don’t wish to reinstall Cygwin you can find more information at. By default they appear in My Documents/Downloads. You set the location of these files when you installed Cygwin. Then find any packages downloaded but not installed and delete them as well. Close all Cygwin windows and services and delete your Cygwin directory (by default, C:\cygwin).
If you already have Cygwin installed, this guide recommends that you delete it and reinstall completely.
Cygwin provides a GNU development environment for Windows, which will allow you to compile OpenOCD using the GNU Compiler Collection (GCC). If you encounter problems with this option, try the OpenOCD 0.5.0 instructions in Compiling OpenOCD WinXP or Compiling OpenOCD Win7 instead.ĭownload and install Cygwin 1.7.9 from. However, the development code is subject to change at any time. Unlike the 0.5.0 release the development version includes support for the Flyswatter2 and Flyswatter3, so you won’t need to download or apply a patch before compiling. This guide uses the most recent version of the OpenOCD source currently in development.