Skip to main content
NSemrHomeInit
Associate III
January 8, 2021
Question

Keil vs STM ide

  • January 8, 2021
  • 12 replies
  • 25153 views

Dear ST Hello,

What is the advantage and disadvantage of the Keil and STM ide.

Did you recommend one of them. I want to change the ide and I am in 2 minds,

Thank you in advance,

S.Tarik

This topic has been closed for replies.

12 replies

Tesla DeLorean
Guru
January 8, 2021

Team ARM/Keil here.

I like my stuff to just work, and I don't like Eclipse and workspaces..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
NSemrHomeInit
Associate III
January 8, 2021

Tesla,

Thank you for replaying,

Eather you like it or not, this is not the point. I am asking for efficiency, maintainability, and reliability.

Debug, editing ...

TDK
Super User
January 8, 2021

STM32CubeIDE has gotten significantly better over the past few years. I would recommend it. I don't like how slow and clunky the interface is--it takes a second to bring up the debug view, for example, but it does work. There have been a few Eclipse-based STM32 IDEs and it's by far the best, in my opinion.

I also don't like the concept of workspaces, where every project I've ever worked on is listed. You can have multiple workspaces, but it increases mental overhead and slows productivity when you're switching projects frequently.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Javier1
Principal
November 4, 2022

not to mention workspaces stop working randomly if you include them in a git repo.

hit me up in https://www.linkedin.com/in/javiermuñoz/
AIM65
Associate III
January 8, 2021

And one is free, the other not...depend on if your a DIYer or a business...

As a DIYer I like workspace because those are some safe area where you can experiment, learn, and make mistake, thus allowing you to keep safe one where you work on your projects. It's a efficient way to have dedicated environnement.

Tesla DeLorean
Guru
January 8, 2021

Keil is free for STM32 CM0(+) parts

https://www2.keil.com/stmicroelectronics-stm32/mdk

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
AIM65
Associate III
January 8, 2021

Yes, but DIYer's also appreciate to scale up (or down !) their design from a F030 to a H7 without having to think about the way your IDE will allow you, or not , to do what you want. From a DIYer perspective, with former Atollic (CubeIDE), for free, you can focus on your hardware and code across the whole STM32 line. I've tried free version of Keil...and yes,If I had the opportunity to work with, I'll choose it.

ST initiative aiming at giving for free the software tools which allows to better leverage their hardware is great but also very smart. And CubeIDE, Touch GFX and even the whole HAL (I know that pro developper prefer LL) are great way to promote STM32 family from DIYeré, tech schools student or even pro with TGFX.

Mazen Aljeddani
Visitor II
January 8, 2021

I recommend using CubeIDE for the following reasons

1 - It is main stream IDE from the chip vendors

2 - It is based on the industry common IDE (Eclipse), if you change from STM to other vendors you feel home.

3 - Almost all the plug-in you can imagine, for example code static analysis (cppcheck)

4 - You will use the latest and the greatest GCC compiler efforts-less, for example c++17

5 - Highly customizable, you can customize almost every thing.

and many other reasons...

But the downside in my opinion is the learning curve.

Regards

Mazen AlJedaani

NSemrHomeInit
Associate III
January 8, 2021

"But the downside in my opinion is the learning curve."

Hello Mazen,

What do you mean by the learning curve? would write more about this, I really like what you munched.

Mazen Aljeddani
Visitor II
January 8, 2021

With pleasure,

But forget to mentioned, that CubeIDE free for personal and professional.

on the other hand, KEIL and IAR are not free across all families. you will be a

decent amount of money full version licenses

What I mean by the learning curve, Is that you will need some time to get used to.

I know this by the feedback I receive from my colleagues.

For example, if you want to open a project, first you need to open its workspace then

open the project. You can double click the project and it will be opened automatically and isolated

like KIEL or IAR.

Another Example, if you want to add a file to the project, there is no menu for add exiting file to the project

it is just simple copy and paste.

In my opinion these are pros not cons, but you just need no know it.

If you are not decided yet, here is a list with IDE you can take a look

  1. STM32CubeIDE (free)
  2. Atollic TrueStudio(free)
  3. SW4STM32 (free and opensource)
  4. VSCode with PlatformIDE(free)
  5. Segger Embedded Studio(free for personal use) + (Simulator)
  6. KEIL (paid) + (Simulator)
  7. IAR (paid) + (Simulator)

January 8, 2021

To those it may concern,

External memories is as a real issue in CUBEIDE, while it has been worked on paid compilers! Hope that there will be nice solution in next versions.

mattias norlander
ST Employee
January 13, 2021

Hi @Vahid Ajallooeian​ , feel free to elaborate on the external memory issue. Maybe I should not derail this topic, so point me to another post if such already exist or drop me a PM. External memory should work providing that you have a working stldr-file for your configuration...

BTrem.1
Senior
January 9, 2021

I have used both Keil and CubeIDE for about a year. It is true CubeIDE is free but my own personal opinion is Keil is much easier to use and to navigate. Also, I do not like the concept of workspaces. An interesting note, my local ST Senior Product Marketing Engineer strongly suggests using Keil, over CubeIDE or anything else. IMHO, the added expense of a paid tool is quickly made up in your work efficiency.

DWebb.2
Visitor II
January 14, 2021

I have been using CubeIDE for a couple of years and have really come to like it. Originally I had used VisualStudio as my main IDE so the learning curve was fairly steep (mainly on the Eclipse specific quirks).

However if you put the time in to really understand it is an incredibly powerful tool. The debugging capabilities are superb - in addition to the usual stuff like setting breakpoints and running code line by line you can really get into some advanced stuff. Eg:

  • Read/write access to both core and peripheral registers
  • Memory browser
  • Easily switch between C/C++ and Assembly
  • Direct access into GDB from the debugger console
  • A build analyser allowing you to drill right into memory usage and flash storage
  • A fault analyzer

... and given I keep discovering new stuff all the time there's probably a load more.

I'm not mad on the workspace/perspective thing that Eclipse does, but once you get your head around it , it is logical enough.

All in all it is a fantastic tool and STM have done an incredible job to produce such a great tool (and the price is pretty good too!).

Dom

NSemrHomeInit
Associate III
January 16, 2021

Hello,

Dom you did an incredible jot you too :),

Thank you

gregstm
Senior II
January 14, 2021

I like the Keil interface, it is elegant and robust. One of my computers is an old Windows XP and I can still use it for occasional development work (an old version of Keil of course). But I HATE the astronomical cost if you want to exceed 32K... Even if you can afford the price, your software is then tied up with various annoying license restraints... I mainly use the STM32L4 range, and thankfully I have managed to keep my designs less than 32K - so far...

Piranha
Principal III
January 16, 2021

The EmBitz, which is discussed in previous comments, feels like a uVision + Visual Studio 2010. It is open-source and uses GCC compiler/linker.

Shahrear
Associate II
November 4, 2022

Nice

Javier1
Principal
November 4, 2022

Team STM32IDE here, i was forced Keil while in university, i grew VERY tired of hacking keil versions in order to bypass their 32Kb limit.

  • When i started this job i was broke so i chose STM32IDE freeware, learning it from scratch(not very different).
  • Now that i could afford Keil license i dont want to / i dont have to purchase it, that was their marketing strategy not mine.

hit me up in https://www.linkedin.com/in/javiermuñoz/
Piranha
Principal III
November 4, 2022

Or you can stop torturing yourself and take a fast and small native code (not Java) IDE without Eclipse's workspaces and other broken idiocies, which uses the same ARM GNU toolchain and is free. Read about the EmBitz in the posts above...

P.S. And no - Eclipse's workspace is not "a group of related projects". Those, who believe it is, please go and look at what a "solution" is in Visual Studio.