Category: Netbeans

How to install OpenOCD v0.7.0, a GDB server for Eclipse and Netbeans

OpenOCD is one of the most useful tool in the embedded environment, I use it mainly as GDB server when developing with Eclipse and NetBeans.

Here how to install it, this procedure was tested on Xubuntu 14.04 with OpenOCD version 0.8.0.


The standard configuration uses libusb

sudo apt-get install libusb-dev libusb-1.0-0-dev

but if you will enable the support for the libftdi driver

sudo apt-get install libftdi-dev libftdi1


Download the latest version here:

tar xvf openocd-0.7.0.tar.bz2
cd openocd-0.7.0

By default OpenOCD doesn’t include the whole support for all JTAG devices, but we can select which hardware we are going to use¬†through the configure options.

To get the list of all supported devices and other useful options

./configure --help

I will enable some verbose options and the support for the devices I have. I am actually using quite often JLink, STLink-V2 and TI ICDI.

./configure --enable-verbose --enable-verbose-jtag-io --enable-parport --enable-jlink --enable-ulink --enable-stink --enable-ti-icdi

If you got the code using the git repository remember to add the option


To enable the building support for FT2232 based devices, using libftdi, add



Compile and install

sudo make
sudo make install

To uninstall:

sudo make uninstall

Uninstall Netbeans on GNU/Linux

Simply execute the script located in your Netbean’s installation folder.

Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...

A dialog window will also appear offering some options.

WordPress Themes