Skip to main content
Associate
June 13, 2026

Cannot create a project with STM32CubeMX2

  • June 13, 2026
  • 2 replies
  • 65 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

 

2 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.

 

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.