A new version of the OpenOCD plug-in is available for testing.
The major changes are related to starting and monitoring the external openocd process, which should bring more stability and reliability to openocd debug sessions.
Also, a new distribution of OpenOCD is available, specially packed for a better integration with GNU ARM Eclipse plug-ins.
There are 3 different package versions, for each major platform (Windows, OS X, GNU/Linux).
http://gnuarmeclipse.livius.net/blog/openocd/
They can be downloaded from:
https://sourceforge.net/projects/gnuarmeclipse/files/OpenOCD/
More information about the OpenOCD packages is available from the developer wiki;
I've been testing the beta OpenOCD plugin from updates-test this afternoon, and it is working well for me so far.
I haven't tried the modified OpenOCD installation package since I already have OpenOCD installed, and it's not quite clear to me at the moment what the modified version offers.
The new version offers a Windows setup and installs in a separate location.
The new plug-in reads this location from the Windows registry. To test this just remove the openocd_path and openocd_executable from the string substitutions and restart Eclipse.
functionally there should be no differences from Freddie Chopin version.
being installed in its own location, it should not be a problem to keep both versions, and switch between them by changing the openocd_path.
if for any reason you decide to remove it, there is an uninstall, which completely clears it from the system.
I also updated the main OpenOCD Install pages, to reflect using the GNU ARM Eclipse OpenOCD.
http://gnuarmeclipse.livius.net/blog/openocd-install/
Last edit: Liviu Ionescu (ilg) 2015-01-19
I see, that sounds useful for others but I'm running Ubuntu 14.04 and OpenOCD is already in /usr/bin, so I didn't need to reconfigure those strings when I installed the plugin, everything worked right away (as far as I can remember).
for GNU/Linux the advantage is that the install folder contains the entire distribution in one place, and you can move it to any location you like.
Stupid question...(I'm a noob) but how do I install the new openocd plugin? The link points to a file named gnuarmeclipse-openocd-debian64-0.8.0-201501181055.tgz, which is not accepted in Eclipse -> Add Repository -> Archive (because it only takes .jar and .zip, no .tgz).
I also use openocd from my package manager (http://nixos.org/nix/). I didn't have stability issues during my (little) testing during the christmas holiday, but I'm always pleased to hear about new software with improvements :-)
the .tgz is not an Eclipse install package, but a Debian application, as name implies.
I updated the main documentation page to explain how to use it:
http://gnuarmeclipse.livius.net/blog/openocd-install/
Ah, I found it: http://gnuarmeclipse.sourceforge.net/updates-test
that's correct.
you need to do an 'Install New Software...' from that url.
Plugin from http://gnuarmeclipse.sourceforge.net/updates-test working well.
ok, thank you.
but the star here is the new openocd setup, did you try it too?
No, I use a modified and recompiled version of OpenOCD for my target, I do not need original OpenOCD, sorry.
if the changes are of general interest, we can include them in GNU ARM Eclipse OpenOCD.
for me it would be of great help if you could also install my openocd, it installs easily, it does not interfere with anything else in the system and you can uninstall it if not needed.
We try to do a patch for OpenOCD at soon.
I removed from my Eclipse GNU ARM plugin from "Installation details" and run gnuarmeclipse-openocd-win32-0.8.0-*-setup.exe, after I pressed next-next-next-finish and run Eclipse. There are no GNU ARM Plugin in Eclipse (and installer no ask for eclipse path). I do not know, how to install plugins not from internet and there are not found next instructions what I need to do.
wrong move. why did you do this?
great, this installed GNU ARM Eclipse OpenOCD in a civilised way. you can uninstall it by running the provided program.
any comments about the setup procedure and the openocd content? first, does it work on your machine?
the plug-ins are available from updates-test, openocd is a separate thing.
Diff:
OpenOCD from new installation works fine. After uninstalling program, the folder "GNU ARM Eclipse" left in system and I need remove it manually.
there are currently 3 packages installing in this folder (the Build Tools, OpenOCD and QEMU); uninstall is not that smart to know when the folder is no longer used.
Maybe when it empty?
Last edit: belerafon 2015-01-21
if you know how to describe this in the nsis setup generator, please suggest.
the configuration file used to build the setup is:
https://sourceforge.net/p/gnuarmeclipse/openocd/ci/gnuarmeclipse/tree/gnuarmeclipse/nsis/gnuarmeclipse-openocd.nsi
I've just done some basic testing with the Debian archive on Ubuntu 14.04 64-bit.
It all seems to work as expected.
Regarding the documentation, there seems to be some issue with the links to the "files" sections on the following page actually going somewhere else: http://gnuarmeclipse.livius.net/blog/openocd-install/
ok, thank you
wrong copy/paste. fixed.