Skip to main content
Associate
June 13, 2026
Question

Cannot create a project with STM32CubeMX2

  • June 13, 2026
  • 3 replies
  • 128 views

Hi,

I found the new c562 chip and for that I needed to install the latest IDE, v2.1.1

I am running Debian linux (testing) kernel 7.0.10 on an AMD cpu with nvidia, driver 595.80

When I installed IDE 1.19 it installed mx1 automagically if I am correct, now with 2.1.1 mx1 or mx2 is no longer automagically installed anymore. Trying to install mx1 from the command line throws an error that I do not have JRE 17 installed even though versions 17/21/25 are installed.

rth@castle:~$ uname -a
Linux castle 7.0.10+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.0.10-1 (2026-05-27) x86_64 GNU/Linux
rth@castle:~$ java --version
openjdk 25.0.3 2026-04-21
OpenJDK Runtime Environment (build 25.0.3+9-2-Debian)
OpenJDK 64-Bit Server VM (build 25.0.3+9-2-Debian, mixed mode, sharing)
rth@castle:~$ dpkg -l | grep jre
ii  default-jre                           2:1.25-77                          amd64        Standard Java or Java compatible Runtime
ii  default-jre-headless                  2:1.25-77                          amd64        Standard Java or Java compatible Runtime (headless)
ii  openjdk-17-jre:amd64                  17.0.14+7-1                        amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-17-jre-headless:amd64         17.0.14+7-1                        amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-21-jre:amd64                  21.0.11+10-1                       amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-21-jre-headless:amd64         21.0.11+10-1                       amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-25-jre:amd64                  25.0.3+9-2                         amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-25-jre-headless:amd64         25.0.3+9-2                         amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
 

I got mx2 installed and it starts up. But when “create application project for mcu” is chosen it will show the rotating circle thing for ever. I have tried it on my laptop, work desktop and home desktop computers.

A project can be created in IDE 2.1.1 but no ioc project file. Was that file automagically created in IDE 1.19 because mx1 was already installed ?

Tried to install mx2 inside IDE 2.1.1 through Help->Install new software but I could not find anything resembling stm32cubemx2

Is there a way to get mx2 working ?

Roelof

 

3 replies

Sara BEN HADJ YAHYA
ST Technical Moderator
June 23, 2026

Hello ​@roelofth68 ,

Thanks for your feedback,

I assume this is due to a certificate issue, which prevented the packs from being installed.

In this case, what you need is to configure a proxy or a certificate to be able to access the servers and download packages.

  • Get your certificate from your company IT or company portal.
  • Place it under C:\certificate, for example.
  • Add the Windows environment variable NODE_EXTRA_CA_CERTS with the path to this certificate file. (Make sure that the path has no quotes.)

Oussama_TROUDI_0-1777453770153.png

  • Finally, restart STM32CubeMX2.

You can also refer to this article for more details on: How to configure the proxy or certificate 

Please don’t hesitate to get back to me if you need any further assistance.

Regards,

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Associate
June 27, 2026

I have been trying again this morning to get mx2 to work. Finding no information on the internet that is usefull. The mx2 software is in a microslop fasion VERY scarse with information about what is going on, then I noticed the text in the lower left corner of the program window “activating stm32cube core  verifying installation….  saved” with a little rotating circle thing in front of it.

I could not find a log file. When clicking on the bell icon, lower right corner, there is a button “show in logs” but nothing is shown.

Then I downloaded an example from the “stm32 example library” just to see if it will load a .ioc2 file. It just shows a popup window in the lower right corner with “project opening is ongoing, please wait”.

Sara, there is no CA certificate other then the certificate I have to make my email server work with an encrypted connection and I am not using vscode.

 

Sara BEN HADJ YAHYA
ST Technical Moderator
July 15, 2026

Hi ​@roelofth68  and sorry for the late reply, 

To be clear, the CA certificate or proxy configuration is not related to VS Code. It is mainly used to allow network connectivity to the required servers from your environment. 

So, this does not appear to be an issue specific to STM32CubeMX2 itself, but rather to the ability of your environment to reach the required servers. If possible, please check with your IT team whether a proxy or company CA certificate must be configured.

The following workaround allows you to bypass the online download step

  1. Download the packs from STM32 Package Creator
  2. Then install them in STM32CubeMX2 using “From Local”

 

Regarding the “Show in logs” option, you are right; it is currently not functional. I have submitted a ticket (CDM0064378) for a fix and will keep you posted. I have also submitted another ticket (CDM0064379) requesting that the logs path be added to the STM32CubeMX2 online documentation.

In the meantime, STM32CubeMX2 logs can be found here:

  • Windows: C:\Users\<USER>\AppData\Roaming\stm32cube\logs
  • Linux: /home/<USER>/.local/share/stm32cube/logs
  • macOS: /User/<USER>/Library/Preferences/stm32cube/logs

Internal ticket number: CDM0064378 and CDM0064379 (This is an internal tracking number and is not accessible or usable by customers).

Regards,

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Andrew Neil
Super User
June 23, 2026

A project can be created in IDE 2.1.1 but no ioc project file. Was that file automagically created in IDE 1.19 because mx1 was already installed ?

Yes, CubeMX was integrated withing CubeIDE versions 1.19 and earlier.

From CubeIDE v2.0.0, CubeMX (and MX2) has been only a separate, standalone application:

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
AScha.3
Super User
July 15, 2026

So some (like me) still use IDE 1.18.1 or 1.19.   

Only for new STM32C5Axx series you need new V2 .

"If you feel a post has answered your question, please click ""Accept as Solution""."
Robert.Ramon
Associate II
July 15, 2026

Actually, I don't need to; I also reverted to version 1.19, which is the best one so far—though I only use it for creating new projects.

Version 2.1.1 works with existing projects, but it didn't bring anything significant—not even a fix for Live Expressions; we still encounter false data errors at times. So, updating the program ends up being pointless.