cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE, it's a pain in the back to create a new project

XR.1
Associate III

Being a NXP fan, I need to use the STM32 ecosystem because there's enough stock (60000+) for the STM32G070 microcontroller (besides it fulfills my project needs); however, using the IDE has been a pain in the back, so that I'm considering to going back to NXP even if I'm gonna suffer with its stock (and higher prices).

First, while creating a new project for such microcontroller in my Linux Mint box, the IDE (1.12.1) stucks at window "Licensing agreement". It tooks several minutes to render the content of such window. Nothing seems to happen when either I click on "Click here to..." or "I have read..." ("Cancel" button doesn't even respond!).

Then these next console messages are shown when it finally finishes with this window (arount 20 minutes):

$ /opt/st/stm32cubeide_1.12.1/stm32cubeide_wayland %F
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
1 : Invalid condition id : UX_CORESTACK_Condition cause : null
1 : Invalid condition id : UX_CORESTACK_Condition cause : null
1 : Invalid condition id : UX_CORESTACK_Condition cause : null
1 : Invalid condition id : UX_CORESTACK_Condition cause : null
1 : Invalid condition id : UX_CORESTACK_Condition cause : null
[19170:19170:0710/150719.666213:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[19170:19170:0710/150720.378797:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: No se encontró la configuración solicitada
[19207:19207:0710/150722.172006:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No existe el archivo o el directorio (2)
[19207:19207:0710/150722.173265:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No existe el archivo o el directorio (2)
[19207:19207:0710/150722.176672:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No existe el archivo o el directorio (2)
[19207:19207:0710/150722.177416:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No existe el archivo o el directorio (2)
[19207:19207:0710/150722.182019:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No existe el archivo o el directorio (2)

etc...

Then the IDE closes itself. Then, when I launch the IDE again, it stucks forever in the splash window

Is this the price to pay for using your tools?

This misbehaviour has been there for a long. Is there a prove workaround for these two problems? Take into account that I can't delete the working directory any time I need to open the IDE.

Thank you!

 

 

 

22 REPLIES 22

@GAuye  While waiting for more useful responses, can you share configuration of the VM (RAM size, video config, number of CPUs...)? or attach the .vmx file (pack with 7z)

Sure, in this now I'm running with 2 Gb of RAM but I have tested it with 8 Gb with the same results. I'm sharing the two files. Checking the process running, Java takes 99% of the CPU workload but nothing happened.

Nchen.1
Associate III

.metadata folder may be corrupted. Try to delete it, it will be recreated on the next time open the project