Skip to main content
PGump.1
Senior II
July 11, 2024
Question

STM32CubeIDE instability with MX

Hi all,

If I recall correctly, CubeIDE V1.8 was very unstable when using the integrated MX, with many of the control components failing to redraw correctly, or not at all. Sometimes you could trick it into drawing by minimising and restoring the form. It was all very intermittent and problematic.

I was very happy see that issue fade away in subsequent versions. I think it was V1.13 that I saw it last...

However, I have seen it twice now in V1.16...!!! I really hope it's not coming back.

Yesterday I attempted to start a new project from MX - it got as far as the STM32F4 license agreement form where it looked up - all the controls on the form were greyed out, the form was system modal. I can kill the CubeIDE, but trying to kill java is like trying to kill Dracula's zombie.

Only rebooting the PC was going get it out of this. As you know, this crashes your workspace, and you have to go through all the motions to recover it.

Perhaps QC need to change their tests and measures...

Kind regards
Pedro

This topic has been closed for replies.

6 replies

Bob S
Super User
July 11, 2024

The easy solution has always been - run CubeMX stand-alone, separately from the IDE.  Don't run it from within the IDE.

PGump.1
PGump.1Author
Senior II
July 11, 2024

Thank for your reply.

However, I wouldn't say that dividing a single project into 2 projects is a good solution...

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.
Bob S
Super User
July 11, 2024

They started out as 2 separate products.  Actually, CubeMX pre-dates CubeIDE.  The mistake (i.e. bad solution) IMO was wrapping CubeMX inside the IDE.  Complexity on top of complexity for no real benefit.  They work perfectly well as separate programs.