A year or two ago I put together an IDE using eclipse, gnu arm tools, openocd with a st link JTAG adaptor.
I can't seem to get a working system together, and further more some links aren't working I have used to install add-ins for Mars 2. Mars 2 was the system I know worked.
Is there a blow by blow account of how to install this with either Neon or Oxygen, or should I bit the bullet and use an IDE already put together.
Does anyone here have any suggestions? Yes I know of pay-for solutions but they're not ideal for multi-site solutions, plus the old system I had worked just as well as any pay IDE!
The paid development tools for many microcontrollers use the same setup, perhaps with different libraries, wizards, support, and a few other features. Eclipse with gcc is the most common combination for ARM development.
You haven't given much details of the problem here (not that I can be sure of giving helpful advice even if you had...). It is possible that for some of the bits and pieces you have used, they have changed project location - moved from Sourceforge to Github, or whatever. Personally, I usually try to avoid updating software like this. I install an Eclipse build or other IDE in a directory, and leave it there - if I want a new version of the tools, I do it in a new directory with a separate installation. I am particularly fussy about the key tools - the compiler and library - and never change these in a project.
I don't know how far you get with your current setup before things go wrong, but sometimes it is settings in the workplace that are the problem - try creating a new blank one.
And I expect that ST have a free IDE with gcc ready for download - most ARM microcontroller manufacturers do (but I haven't used ST's devices). You usually don't get the latest version of Eclipse or the gnu arm embedded toolchain, but you get an all-in-one package that is normally easy to install.
One big point is I didn't realise I could install from local archives.
As per article I did look at upgrading the ST-Link V2 to the Segger firmware but on further investigation that's not possible, only on the Discovery boards. Indeed if I try as per:
formatting link
I get: Identifying ST-LINK variant...ERROR: Unsupported ST-LINK hardware variant
However I did upgrade the ST-Link V2 firmware to V2.J28.S7 and using the driver 2.0.0
I can build fine, using a 'New' test example of 'Blinky'.
However, despite making sure OpenOCD is in the correct path, I get a time-out when trying to debug after:
It appears an IDE, where you have to install plugins, much like eclipse. The only difference is say a plugin I would need is unobtanium. The Code::Blocks(STM32) net installer at:
formatting link
doesn't have a download area. Furthermore the 'installer' website
formatting link
where the downloads are possibly subject to Euros10 is broken. All I get is spinning circles.
Finally got it going in a VM. The issue is to have the full GDB executable in the GDB Client Setup. I had believed, very wrongly, that the GNU ARM tool folder would be sufficient, it isn't!
I'm now in a position to update plugins as and when required. Many thanks for that link, its made things a whole lot more repeatable. It should also be portable as I'm using ${eclipse_home} to indicate the eclipse home directory.
With 'Blinky program on an old Olimex board I can get "Hello ARM World" and get the LED to flash.
One more thing, I have found all the versions of OpenOCD 0.10.0 unreliable. I go from working to not working with: undefined debug reason 7 - target needs reset Remote failure reply: E0E
or Error in final launch sequence Failed to execute MI command: -target-select remote localhost:3333 Error message from debugger back end: Remote failure reply: E0E Failed to execute MI command: -target-select remote localhost:3333 Error message from debugger back end: Remote failure reply: E0E Remote failure reply: E0E
It seems a known bug, so now using 0.9.0 (GNU ARM Eclipse OpenOCD v0.9.0-20150519*) Unfortunately it only comes in an executable, though can be 'unzipped' by 7zip. So far so good.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.