Menu

#16 New GNU ARM OpenOCD and plug-in available

1.0
accepted
None
2015-01-22
2015-01-19
No

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;

http://gnuarmeclipse.livius.net/wiki/Main_Page#OpenOCD

Discussion

  • Justyn

    Justyn - 2015-01-19

    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.

     
  • Liviu Ionescu (ilg)

    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.

     
  • Liviu Ionescu (ilg)

    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
  • Justyn

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

     
  • Liviu Ionescu (ilg)

    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.

     
  • Bjørn Forsman

    Bjørn Forsman - 2015-01-19

    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 :-)

     
    • Liviu Ionescu (ilg)

      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/

       
  • Bjørn Forsman

    Bjørn Forsman - 2015-01-19
     
    • Liviu Ionescu (ilg)

      that's correct.

      you need to do an 'Install New Software...' from that url.

       
  • belerafon

    belerafon - 2015-01-21
     
    • Liviu Ionescu (ilg)

      ok, thank you.

      but the star here is the new openocd setup, did you try it too?

       
  • belerafon

    belerafon - 2015-01-21

    No, I use a modified and recompiled version of OpenOCD for my target, I do not need original OpenOCD, sorry.

     
  • Liviu Ionescu (ilg)

    I use a modified and recompiled version of OpenOCD

    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.

     
  • belerafon

    belerafon - 2015-01-21

    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.

     
    • Liviu Ionescu (ilg)

      I removed from my Eclipse GNU ARM plugin from "Installation details"

      wrong move. why did you do this?

      run gnuarmeclipse-openocd-win32-0.8.0-*-setup.exe,

      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?

      I do not know, how to install plugins not from internet

      the plug-ins are available from updates-test, openocd is a separate thing.

       
  • Liviu Ionescu (ilg)

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,6 +5,8 @@
     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:
    
    @@ -15,4 +17,3 @@
       http://gnuarmeclipse.livius.net/wiki/Main_Page#OpenOCD
    
    -
    
     
  • belerafon

    belerafon - 2015-01-21

    OpenOCD from new installation works fine. After uninstalling program, the folder "GNU ARM Eclipse" left in system and I need remove it manually.

     
    • Liviu Ionescu (ilg)

      the folder "GNU ARM Eclipse" left in system

      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.

       
  • belerafon

    belerafon - 2015-01-21

    Maybe when it empty?

     

    Last edit: belerafon 2015-01-21
  • Justyn

    Justyn - 2015-01-22

    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/

     
    • Liviu Ionescu (ilg)

      It all seems to work as expected.

      ok, thank you

      issue with the links to the "files"

      wrong copy/paste. fixed.