cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE crashes on opening 'Software Packs'

dbit
Associate

Hello All

I'm using STM32CubeIDE 1.18.1 on a Windows 11 (10.0.26100) virtual machine through VirtualBox (7.1.8).

I've been able to create a project for my board and generate code, however when I go to the software packs, it causes the IDE to consistently crash.

I have so far attempted to no success:

  • Reinstalled the software
  • Updating my java installation
  • Using a different drive (C:/ instead of a shared Z:/ drive)

My .metadata/.log is as follows - repeated many times:

dbit_0-1748265620780.png

(I have also attempted to install STM32CubeMX but have been unsuccessful, probably unrelated)

Does anyone have any ideas or solutions? - A quick scan of the forum didn't come up with anything

My local installation of the IDE works (and gives the same .log errors) however that isn't a viable solution for me in the long term.

Thanks in advance.

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @dbit 

First let me thank you for posting.

Let's try the following steps : 

1- Check Virtual Machine configuration: Ensure that your virtual machine has sufficient resources allocated (CPU, RAM) to run STM32CubeIDE smoothly.

2- Verify that the virtual machine's network settings allow it to access the internet, as this might be necessary for downloading software packs.

3- Try to follow the steps mentioned in this Article How to set the network connection parameters for STM32CubeIDE and STM32CubeMX

4-  Try creating a new workspace : New-->Switch workspace-->other-->Create a new workspace 

If the problem persist , manually download the software packs from the STMicroelectronics website and install them offline. This can sometimes bypass issues related to network or IDE settings.

I will be waiting for your feedback.

THX

Ghofrane

 

 

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.

Thanks for getting back to me.

  1. The machine should have enough to handle the IDE, 16GB RAM, plenty disc space.
  2. I have had to disable proxys for the IDE to connect to the internet - this is confirmed by my ST account connection. The crash happens irrespective of if the connection is active or not.
  3. I can confirm that I have followed those steps.
  4. New workspace still gets the crash.

I have downloaded a package to try and load it 'offline' using the {Help -> Configuration Tool -> Manage Embedded Software Packages} and adding from local. Fortunately I can also download packs from this menu, which is a step forward, thank you.

dbit_0-1748336439127.png

Unfortunately my issue is not resolved as when I attempt to use or configure the package the 'Software Packs Component Selector' screen is brought up, thus crashing the program.

Do you know why this would be happening?

Thanks.