Skip to main content
XR.1
Senior
February 19, 2024
Solved

STM32CubeIDE doesn't start first time after being installed

  • February 19, 2024
  • 2 replies
  • 4674 views

1. Yesterday I downloaded CubeIDE 1.14.0 for Linux Mint Cinnamon 21.2

2. Today I installed it and I tried to run it from the graphical app launcher

3. It asked me for the workspace's name. I gave it a one. This window was closed

4. Nothing happen, really, nothing!

5. I tried to re-run it and it asked me for the workspace's name. Then it said there was a workspace active with the same name

6. I run it from command line:

$ /opt/st/stm32cubeide_1.14.0/stm32cubeide_wayland %F

7. It asked me for the workspace's name. Then it said there was a workspace active with the same name

8. I opened the app manager and there were 3 open Java instances plus some CubeIDE apps. I killed them all

9. I run it from command line (again):

$ /opt/st/stm32cubeide_1.14.0/stm32cubeide_wayland %F

 

 

10. The IDE finally started. I haven't gone further at this moment. I just want you to know this misbehavior

 

Why this horrible and awkward behavior? It's the lastest release! Same happened with previous releases.

 

UPDATE (some minutes later)

11. I created a new project for a Nucleo board

12. Seems the IDE entered into an infinite loop

13. A window showed up "Please login to download...", but the IDE was unresponsive

14. I killed the Java process and I re run it again

15. The IDE was stucked again and my OS detected this situation. It's in Spanish, but it says "Force exit / Wait"

 

What's wrong with the IDE?

 

 

    Best answer by XR.1

    Hi,

    As I said, I found a simple, yet incredible workaround (an ugly one, though). The problem is in your side, not in the Eclipse editor:

    1. DISCONNECT FROM INTERNET

    2. Create a workspace

    3. Create/Open a project

    4. Edit your IOC project

    5. Generate code

    6. Compile your project

    7. RECONNECT TO INTERNET

     

    ST servers are painfully slow, that's way it seems the IDE freezes. However, when you're offline everything moves smoothly.

     

    The IDE will ask you several times to go online, SAY NO! But DON'T SELECT THE TICK CONTROL, just say no.

     

    When your project has been built then you can go online and update some IDE tools (if needed).

     

    In general, whenever find yourself in any of the 2..5 steps above, DISCONNECT YOUR PC FROM INTERNET.

    2 replies

    Semer CHERNI
    ST Employee
    February 20, 2024

    Hello @XR.1 

    First let me thank you for posting.

    The STM32CubeIDE tool is fully supported for specific Linux distribution :  Ubuntu® LTS 20.04 and LTS 22.04, and Fedora® 36.
    Unfortunately, tests cannot cover all Linux version therefore we focus on the most used ones.

    KR,
    Semer.  

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    XR.1
    XR.1AuthorBest answer
    Senior
    February 24, 2024

    Hi,

    As I said, I found a simple, yet incredible workaround (an ugly one, though). The problem is in your side, not in the Eclipse editor:

    1. DISCONNECT FROM INTERNET

    2. Create a workspace

    3. Create/Open a project

    4. Edit your IOC project

    5. Generate code

    6. Compile your project

    7. RECONNECT TO INTERNET

     

    ST servers are painfully slow, that's way it seems the IDE freezes. However, when you're offline everything moves smoothly.

     

    The IDE will ask you several times to go online, SAY NO! But DON'T SELECT THE TICK CONTROL, just say no.

     

    When your project has been built then you can go online and update some IDE tools (if needed).

     

    In general, whenever find yourself in any of the 2..5 steps above, DISCONNECT YOUR PC FROM INTERNET.

    AScha.3
    Super User
    February 25, 2024

    Hi,

    Try this : (no need to DISCONNECT FROM INTERNET )

    menu -> preferences -> disable search and automatic updates ->

    AScha3_0-1708854153465.png

    On my (Linux) system improved IDE behavior a lot.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    AScha.3
    Super User
    February 20, 2024

    > Yesterday I downloaded CubeIDE 1.14.0 for Linux Mint ..

    Which version you tried ?

    I have Linux MX and the "Generic.." version - so try this (if you have tried other).

    (The "Debian.." didnt work , although my system is a "Debian" type. )

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    XR.1
    XR.1Author
    Senior
    February 20, 2024

    Hi, CubeIDE works in Linux Mint, but it's unreliable and it has been documented. Some users (including me) have reported that they've lost their projects 'cause a Eclipse native problem.

    Linux Mint is based on Ubuntu and this is based on Debian, so every path conducts to Debian.

    Besides that, Linux Mint is my 24/7 beloved operating system, so sadly I can't change it just because the IDE works unreliable there.

    The good news is that I found a workaround that I'll be talking about later when I have some spare time.