Where can i get OpenOCD for linux ?

Hi,

Where can i get the latest version of OpenOCD for linux ?

Thanks

Hi there,

I’ve been browsing around a bit and it looks like they’re going out of their way to hide the source download. I could find it by browsing as follow:

The main website of OpenOCD is at http://openocd.berlios.de.

There is a lot of good info there, but I couldn’t find the link to the software there. Google helped out and provided the following link to the software:

http://developer.berlios.de/projects/openocd

At the main page you will only find a link to the M$ Windows binary. To see all the files, click in the top menu on ‘Files’. The new page will show the M$ Windows binary, along with the source archive. The direct link to this page is: http://developer.berlios.de/project/sho … up_id=4148 and for the source archive:

http://prdownload.berlios.de/openocd/op … src.tar.gz

Good luck with the download and building the source on Linux. It looks asif that is the only way to get it going under Linux. No binary distro builds appear to be available.

Regards,

-frikkie

Thanks

I finally found it at:

svn checkout http://svn.berlios.de/svnroot/repos/openocd/trunk

It seems to be the most recent version.

Well it was not easy to find.

Just for information:

I noticed a while ago that binary is available under debian unstable. I have not tried it but I dont see the reason why it should not work.

Madis

Unfortunately the binary in debian does not seem to work with the olimex usb jtag or any ft2232 because for some reason the driver is binary only (yuck). Compiling with it is a pain, see my other post (when I finish cleaning up the text that goofs up sparkfun’s server)

Hi, You can get the latest openocd from the ubuntu universe repository:-

http://packages.ubuntu.com/gutsy/embedded/openocd

The download links (deb files) for various PC architectures are on the bottom of the page.

If you have ubuntu, then installing openocd also installs the required libc6, libftdio, and libusb libraries for you. But the links for these are there too if you need them. However there is little documentation in there. Just a few examples. I am currently trying to sort the config file for a Olimex openocd usb tiny connected to an str7 eval pcb. Its complaining about bad flash bank config, but it appears to be functioning and I can telnet the openocd server so it looks good so far.

true, you can get it from Ubuntu as a package, but it seems to be a bit dated:```
Package: openocd (0.0+r188-1) [universe]

personally, I prefer compiling from source (use svn checkout)... the current revision is r495 (vs r188 - that seems quite old! )...

The doc are pretty clear about building it... 

[http://openfacts.berlios.de/index-en.ph ... ng_OpenOCD](http://openfacts.berlios.de/index-en.phtml?title=Building_OpenOCD)