Skip to main content
After Forever
Senior III
April 25, 2019
Question

STM32CubeIDE - an all-in-one multi-OS development tool

  • April 25, 2019
  • 12 replies
  • 6024 views

I couldn't find any discussions here about this newly released tool, so I'm creating one.

Here is the link - STM32CubeIDE

This topic has been closed for replies.

12 replies

Ozone
Principal
April 25, 2019

My take on vendor-specific toolchains in general:

* Fine for hobbyists , occasional users, and prototypes.

Second choice in a commercial environment, because:

* Silicon vendors use to lack the compiler/linker expertise. Toolchains are either bought up, leased, or freely available. A performance gap does exist.

* All-in-one often implies "all in one hand". Not everone likes that.

* This oolchains are limited to the company's product line. This does not fit for many customers.

* Longterm-availability, maintenance (bugfixes) and feature requests. What can you expect from a free product ?

* Licence and copyright issues.

Wich doesn't mean all this problems are present in STM32CubeIDE. But since it is based on TrueStudio (and Atollic) I wait to see.

Situations and occurences like observed with the Atollic take-over do usually fail to motivate the employees. The experienced key developers tend to disembark first.

Uwe Bonnes
Chief
April 25, 2019

Why distribute as ...bundle.sh.zip? 745431591 vs 745431337 bits, about 300 bytes saved by zipping!

Markus GIRDLAND
ST Employee
April 26, 2019

We were told it's the only way the team responsible for the website could guarantee a correct download of the installers, so we delivered .zip files as they requested.

Uwe Bonnes
Chief
April 25, 2019

There is no libusbx on Opensuse. As found on the net" As of 2014.01.26, libusbx project has been fully merged back into libusb and is being discontinued."

Ozone
Principal
April 25, 2019

Troubles like this convinced me some years ago to switch over to Mint, which has a KDE version, too. Just saying.

Uwe Bonnes
Chief
April 25, 2019

Does Mint have libusbx? And what should that tell?

I consider it a fault of STM32CubeIDE to require a library that has been discontinued for 5 years!

Ozone
Principal
April 25, 2019

That meant, considering the limited importance of Linux in commercial embedded development, ST focuses only on the main Linux distributions. (Mint is derived from the ubiquitous Ubuntu.)

Glad that ST cares about Linux users at all...

Singh.Harjit
Senior
April 25, 2019

​I wonder what is the relationship between this and Atollic TrueStudio which ST owns?

Pavel A.
Super User
April 25, 2019

> ​I wonder what is the relationship between this and Atollic TrueStudio which ST owns?

The picture shows it... It is Atollic + Cube.

-- pa

Singh.Harjit
Senior
April 25, 2019

​Thank you; I completely missed that picture!

Joerg Wagner
Senior III
April 27, 2019

Did someone installed it on MacOS? I get a warning ST Link Server is not compatible with Mojave.

System can be corrupted if I would continue the installation. Did no one test the Mac version on a Mac at ST?

Markus GIRDLAND
ST Employee
April 29, 2019

We didn't have the time to fix this for release but we put it under "Known problems and limitations" in the release note:

"The macOS® installer displays incompatible version dialog when installing the stlink-server package. This can safely be ignored."

As well as detailed it as step 8 in the installation guide in the macOS section, we are aware of the issue.

Bruce Ellefritz
Visitor II
April 29, 2019

Markus thank you for your responses. I just got STM32CubeIDE Friday, installed it, used STM32CubeIDE to start with a STM32F429I-DISCOVERY, used the integrated TouchGFX to create a base screen, did the build and got code errors in [b]startup_stm32f429zitx.s[/b] and in [b]stm32f4xx_it.c[/b]. That's not even my code, there is no User Code in this test project. So now I'm stopped by the internal code.  :roll: 

C:/STM32CubeIDE/Workspace/BattMonTest4/Debug/../Startup/startup_stm32f429zitx.s:113: undefined reference to `main'

Src/stm32f4xx_it.o: In function `LTDC_IRQHandler':

C:/STM32CubeIDE/Workspace/BattMonTest4/Debug/../Src/stm32f4xx_it.c:205: undefined reference to `hltdc'

Src/stm32f4xx_it.o: In function `DMA2D_IRQHandler':

C:/STM32CubeIDE/Workspace/BattMonTest4/Debug/../Src/stm32f4xx_it.c:219: undefined reference to `hdma2d'

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:51: BattMonTest4.elf] Error 1

"make -j8 all" terminated with exit code 2. Build might be incomplete.

08:56:40 Build Failed. 4 errors, 0 warnings. (took 15s.10ms)

Before STM32CubeIDE, I used STM32CubeMX 5.1, TouchGFX 4.10 and TrueSTUDIO separate applications using the same board to start developing I2C code from STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32F429I-Discovery\Examples\I2C\ . After I did similar to above, select the board, use the article Configuring STM32F429I-DISCO from TouchGFX, open the project in TrueSTUDIO, I spent many days fixing all the missing includes, errors in the generated code, and after ALL that the project won't load into the target board during Debug, it hangs in HAL_MpxInit inside of HAL_INIT. I did nothing to that code. Extremely frustrating.

My hope is that STM32CubeIDE gets fixed soon, it is much easier than using the separate applications.

Markus GIRDLAND
ST Employee
April 30, 2019

I'm really not that experienced with TouchGFX.

It looks like some symbols that should possibly be included is not?

Do you have a step-by-step on how to recreate the problem?

I tried creating a TouchGFX project with CubeIDE but it looks like I need an executable, so I need standalone TouchGFX as well?

steve_hein
Visitor II
April 29, 2019

New CubeIDE question....

I just tried STM32CubeIDE for the first time, install on Fedora 27 via the RPM install. Smooth install, no problems--nice!

I'm using the STM32L452RE board, and I wanted to use the 1.13.0 libraries I had been using on my project, instead of the 1.14.0 libs that were downloaded when I created my first project under CubeIDE. But I found that none of the options to select an alternate firmware pkg/libs would let me select my 1.13.0 package, even though it was installed in the Repository right next to the new 1.14.0.

* When creating the STM32 Project, on the "Firmware Library Package Setup" screen in the wizard, 1.14.0 was shown greyed out in a drop-down box and would not allow me to select an alternate.

* In the Project Manager tab in the IOC file editor, the Firmware Package Name and Version showed 1.14.0 and the "use default" checkbox that used to appear in CubeMX to enable alternate package selection is missing.

I did verify that under Help -> Manage Embedded Software Packages, it showed both 1.13.0 and 1.14.0 as currently installed.

I checked the release notes and didn't see any entries there. Did I miss something?

Markus GIRDLAND
ST Employee
April 30, 2019

If this is something you are missing then I am missing it as well.

The even stranger thing is that it doesn't happen to every chip family in my tests.

I've gone ahead and created a ticket for this.

steve_hein
Visitor II
April 30, 2019

Thanks Markus!

I tested further and found that if I hand-edit the .ioc file and change the rev from 1.14.0 to 1.13.0, then it will use the older package.

I should mention that the entire reason I've gone down this path is because I had actually modified the contents of 1.13.0 to include the multi-UART CDC enhancements that I created. So in CubeMX, I copied 1.13.0 to 1.13.0.1 and made my changes there. Then, I was able to tell CubeMX to use my modified 1.13.0.1 package in the repo to build with my changes. It appears this is no longer possible in CubeIDE. It doesn't recognize my modified repo as valid. And even if I ZIP that modified package dir and try to install it using the "From Local..." option in Manage Embedded Software Packages, it fails with the message "This package version is not managed on this version of STM32CubeMX".

I really hope that the ability to point to a specific package directory and use it has not been eliminated! I definintely need a way to override to standard package code and share it across multiple projects and with multiple other users.

S.Ma
Principal
April 29, 2019
kyleprice
Associate II
April 30, 2019

I am attempting to run STM32CubeIde on a 2017 Macbook Pro (MacBookPro14,1, P/N: A1708-3164) running MacOs 10.14.4 (Mojave) and am having an issue where the program seems to get stuck "Checking for Updated Files ...". The IDE launches and shows the initial page, but when I click on the "Start new STM32 project" button the "Initializing STM32 Target Selector..." and "Checking for Updated Files .." pop-up appear and never seem to finish.... Is anyone else seeing this? I have un-installed and re-installed the IDE with no change in behavior.

kyleprice
Associate II
April 30, 2019

I am not sure why, but unchecking the "STM32CubeIde" line from the Available Software Sites in Preferences appears to have resolved this.