2023-08-08 05:33 AM
Despite referring to the STM32F0 label (can't this forum have a simple one labeled as a general problem for STM32CubeMX???) the problem exists for ALL situations and MCU's where you simply start working with the STM32CubeMX.
Since several years ago, some colleagues on this form (and myself for 1-2 months) continue to report a completely stupid mess in the stm32CubeMX that makes it completely useless (again I attach a picture of today's nonsense and that completely prevented me simply from doing my work at the University - I'm sick of it!) No one at TS has (apparently) spent even a minute trying to solve such a stupid problem. For now (and against my will) I will migrate to NXP MCUs, which at least the configuration software works! As soon as someone at ST fixes the problem (which drags on for years!) please let me know.
2023-08-08 05:45 AM
Hello @Luiz Pereira
What is your local version of cubeMx ?
For your information, all reported tool bugs are taken into account by our teams and resolved in future versions.
Regards
Diane
2023-08-08 06:31 AM
Hi
Unfortunately it occurs in all situations and versions I know (6.7.0, 6.8.0, 6.8.1, 6.9.0 and 6.9.1) and as far as it is reported, the problem has been going on since 2018, that is FIVE YEARS!
No matter PC hardware/software (test on Win11, Win10, always up to date), graphics cards GTX1660/GTX370 (latest drivers), display resolutions from 1920x1080 up to 2560x1400, regardless of Java runtime version - not SDK - (currently the version 8 64bit update 371 but the same happened with the previous ones). Clearly it's a STM32CubeMX problem and specifically a serious UI rendering bug that simply (and autonomously i.e. without requiring user intervention) starts to draw the GUI, window after window randomly on the monitor (and usually always a few minutes after starting the software). It is independent of any other software that is open in Windows.
Simply put, the STM32CubeMX is useless for configuring complex MCUs, as is my current case (it was "bearable" for small things but now it's frustrating).
The most annoying thing is that apparently in these five years, nobody has cared about the matter.
Thanks
2023-08-10 03:03 AM - edited 2023-08-10 05:56 AM
Hi @Luiz Pereira,
First, thanks a lot for the interest you are bringing to our STM32 MCUs and our associated software development tools.
And sorry to hear about your bad experience you may encounter with STM32CubeMX, and I fully understand such issue can be frustrating and for sure impacting your work. But for such issue, the main issue is the duplication of the issue in other environment, and even if it may be hard to believe, as it was reported by several users, it is absolutely not systematic and it was not fixed yet because not reproduced yet in our side. If we could find a way to systematically reproduce it, it may offer the possibility to study the issue and fix it.
So what can be clear is that it happen in very specific circumstances with specific HW (PC, Monitors) and specifics Windows settings.
Did you notice this post answering to similar issues where the setting of the display size configuration (probably talking about font size and display scaling) seems to help in that case ?
Maybe same could help in your case too. Sorry to not be able to help you much more than that as myself, I'm also not able to reproduce the issue.
Last point, you mention that you where not able to select "STM32CubeMX" label for your post. In fact it may happen this label is not proposed by default in the list of selectable label, but you can always type it manually in the text box that list the labels of your post. Lot of post in teh forum are already tagged with a STM32CubeMX label.But I agree with you that this label should be listed in the default list as should be one of the most used in the forum.Sorry, my bad, there is a limitation with our new forum, I will check to get this label available.
Hope to have bring you some tricks that could help you to use STM32cubeMX more conveniently.
2023-08-10 06:25 AM
Hi,
Thanks but, no way. There is no viable solution. The problem lies in the GUI engine of the STM32CubeMX (the remaining HW/SW on the PC should not be relevant as in the other situations mentioned, the configuration is almost different!). Furthermore, any viable software must not (in any way!) depend on the HW/SW of the machine where it is expected to run. As I recall, during my Windows software development, these GUI issues are related to the condition of the PAINT window (similar procedure using Java or similar mechanism) and not dependent (in well-made software) on the HW/SW layers present in the device drivers (these only process instructions from the top level SW!). Eventually, some particular HW/SW situation can trigger the problem but it should NEVER happen if the GUI engine was correctly programmed and tested on the system. From what I remember, in the old days when the STM32CubeMX depended on Java RTE to work, this never happened...
I appreciate when a real solution will be made. Meanwhile (at the expense of delays but working) on CM7 MCUs I switch to NXP iMXRT as I can't wait any longer to finish the job as the STM32CubeMX is completely unusable (only for very simple systems, like 20/32 pins CM0 I can use it).
Thanks for the attention
2023-08-10 07:37 AM - edited 2023-08-10 07:37 AM
>The most annoying thing is that apparently in these five years, nobody has cared about the matter.
Tend to agree with @Herve PIERROT that this is something dependent on specific graphic card(s) in your company - or some software that tampers in video card operation (especially the "security", "compliance" crap, spying on employees...)
I've never seen this myself. If it were a frequent problem it would be already fixed.
2023-08-10 08:02 AM
I'm sorry but I don't agree at all. And it doesn't make sense (the problem is noticed by users of Nvidia and Radeon graphics cards). The fact that a user has (apparently) worked around the problem by increasing the font size (i.e. forcing CubeMX to a different rendering process) shows this.
As I mentioned, I believe that there is any process that can trigger the problem but in a well made SW, this should never happen (and in more than one user and with different HW configurations). Also, as I mentioned, it didn't happen when CubeMX depended on Java RTE...
I would add that on my PC (personally, I'm the administrator) I don't have games, graphics productivity software, etc.); unless some windows update is responsible.
For now, I just want to finish what I'm doing and I don't need comments that don't suggest a solution.
Maybe when I have time, I'll try to see what's going on.
Thanks
2023-10-22 02:34 AM
Hi,
I encountered the UI chaos problem too, I have searched this problem with Google, and this problem seems to be a common situation obviously! I asked my classmates, they said they had the same problem. I tried different GPU drivers (My GPU is RTX3090), tried different versions of Cube MX, and tried to change the resolution of the monitor, and these methods were all USELESS!
I use two monitors(resolution is 3620x2036) during my work, and I found if I turn off one monitor, the chaos UI of Cube MX could be solved. but when I tried to use two monitors, I encountered this problem.
Thanks
2023-10-22 08:24 AM
Hi @Paradox0v0
In fact, this problem becomes very complicated. As I pointed out before, no matter the changes/settings of display (I'm now using one with a resolution of 2560x1440, but I've tried with different monitors with lower resolutions) and GPU (Nvidia GTX1660 or older), different PCs (intel i5, i7 and i9 from 4th to 12th generation) and the problem persists. I have no solution and some proposed workarounds didn't work for me. The only computer I have where CubeMX works is my laptop (lenovo, i7 7th gen, Intel graphics), but that's not really usable.
Clearly, the problem began to be noticed when CubeMX started to have its own Java RTE replacement module. Before that, it worked without any problems.
Until now, I still work with NXP MCUs. We'll see if any real solution can be found.
Regards
2023-10-22 12:35 PM - edited 2023-10-22 12:37 PM