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
Senior

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

Maybe you talking too bad about some, reading here also.... :)

If you feel a post has answered your question, please click "Accept as Solution".

You're right, indeed!

"No existe el archivo o el directorio" stands for "The file or directory doesn't exist". I just wanted to show the real output.

Hi, Linux Mint derives from Ubuntu, which in turn derives from Debian; indeed, almost everything that works in Ubuntu works in LM 'cause its heritage. By now, magically, the IDE under LM is working as expected :expressionless_face:.

I have a different version - you don't see most of the bugs, bloat and generally stupid design, therefore for you it seems that I'm exaggerating something. ;) But don't worry, ST (Lina) already censored my post, so that ST and less experienced users can continue living in fantasy bubble, where the HAL is not a broken bloatware and the HAL team is competent and smart...

XR.1
Senior

UPDATE: As magic, the IDE is working as expected :expressionless_face:

After the IDE freezes, as I've described, I killed the Java process and I delete the project's debris (actually I exercised this steps several times). Then I started the IDE again, and it magically worked! That's not ok, either, but  at least I can continue with my project.

I can't say this issue has been solved because the magic doesn't exist.

Out of topic: why ST has ten of thousends of units in stock while others (NXP, Microchip, Renesas, etc) don't?

Pavel A.
Evangelist III

Yep, magic is not a technical terminology - but so is "project's debris". Copying eclipse metadata in project and workspace directories is a staple recipe for trouble (I don't know why, not an eclipse pro). People usually bring the sources to a new machine via version control (and don't check the debris in) so they avoid the trouble, by cost of a little more setup of a new workspace.

ah, the hanging java - need killing the process. I had this seldom on Linux  and Win also .

so probably more a problem of java and eclipse relationship.

+

>why ST has ten of thousends of units in stock

your just lucky with this type , thats all. Try getting some H7 cpu (500 pcs or so...) & THIS year !

If you feel a post has answered your question, please click "Accept as Solution".

So, the Eclipse's broken concept of Workspace strikes again... How unexpected! :beaming_face_with_smiling_eyes:

;)

If you feel a post has answered your question, please click "Accept as Solution".
GAuye
Associate III

Hello, I have the same problem running STM32Cube IDE latest version over a VMWare Virtual Machine with Ubuntu 22.04. We I try to create a new project the program is stucking in the License Agreement part, after 10 minutes it let me swith to agree the Terms and Conditions but nothing happens after that. Did you finally find a solution for this? (I have tested it with different installation in different machines, always virtual machines, and I got similar results)