13

I recently began assembly development for a course I'm following and we are using IAR Embedded Workbench IDE for which I did not find a Linux version.

What I actually need is a tool to compile and show the values in tooltips while debugging.

I wonder if there is anything that would do that job on Linux. I know and like Vim so writing the code in Vim and having a compiler/debugger plugin or something like that could suit me.

I'm doing some very basic ARM assembly. I do this for educational purposes and I won't run the program on anything else than the debugger itself.

I don't know which ARM version I am using, I guess you can assume the first one or some standard instructions that are available in all versions.

For now, I'm only using LDR STR MOV instructions and DC32 DS32 variables. I guess that I will use more stuff as the course goes on.

This screenshot of IAR shows everything I need: code, disassembly and values. (just replace the C with assembly).

IAR embedded workbench with debugger screenshot

Edit

I've already used Clewn to debug some C++ code and it looks like gdb works also with assembly. If there is a full standalone IDE that has nothing to see with Vim it would be good for me, having a compiler that I can use with Clewn (gdb) is just as good.

Here is what Clewn looks like:

Screenshot of Clewn

  • 1
    What tasks are you looking for in this IDE? Usually the editor is considered an important part, but you state a preference for a standalone editor. Are you looking for an assembler? For integration between Vim (or other editor) and the assembler? Is this pure assembler or do you link with other code? What architectures do you need support for (ARMv8, Thumb, etc., and what executable format(s))? I presume you're looking for x86 tools? – Gilles Feb 18 '14 at 12:40
  • As I said, I only do some very basic ARM assembly, I don't know the version and it doesn't matter, you can assume the first version I guess. I won't execute it on anything else than the debugger and I don't really care about the editor. What I need to do is be able to debug line per line the small standalone program that I will write seeing the values updating as the program goes. – Johnride Feb 18 '14 at 13:38
  • @Johnride Please add the requirements specified in the comment above to the question body. You are likely to attract a higher quality answer if this information is consolidated. – Kelly Thomas Feb 18 '14 at 13:56
  • @KellyThomas better now? – Johnride Feb 18 '14 at 14:34
  • 3
    The screen shots and exptra copy don't help make this less broad because you are still not clear about your requirements. You want a compiler–no a plugin–no and IDE–with or without and editor–that may or may not do some things. See where this is going? You even state "without any particular goal". That's the problem with this question, without an exact problem you are trying to solve we can't give an exact answer. Without that scope this would turn into a "what is everybody's favorite way of doing X" question. – Caleb Feb 18 '14 at 15:15
2

This IDE is still a bit too young, but it certainly worth to be used! SASM IDE

It has drawbacks:

  1. when used with third-party libraries - it should be configured
  2. when used with multiple-file projects - it should be configured
  3. it has no per project configuration

Yet, it has its advantages:

  1. syntax highlighting
  2. one-button building
  3. debugger
  4. variable watcher
  • You just mention the drawbacks. So what are the advantages? How does it match the requirements (e.g. "compile and show the values in tooltips while debugging")? What makes it "certainly worth to be used"? – Izzy Mar 22 '15 at 13:46
  • @Izzy it has GUI for both editor and debugger. And yeah, it has variable view window – shybovycha Mar 22 '15 at 15:35
  • That should be contained in your answer :) Maybe you edit it (and read our hints for what we consider high quality answers here – oh, better the other way around :)? Thanks in advance! – Izzy Mar 22 '15 at 15:39
1

For better or worse, I've had the summon-arm toolchain working (??) to various success levels in ubuntu using eclipse and gdb. The best instructions I've found are at http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/

FWIW, I don't particularly care for Eclipse because of the Java bloated feeling.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.