Skip to main content
Associate III
January 22, 2024
Solved

More Frustration :(

  • January 22, 2024
  • 3 replies
  • 7034 views

I am running CubeIDE on OSX (not sure if t hat makes a difference)
In the pinout & configuration you can see that some of the configured items, for example ETH and USART1 have a little green triangle next to them, indicating what I believe is a conflict.  

If I hover the mouse over the icon, in just the right place, it will show a popup, but, no matter what I do, after a second of being visible, the popup disappears again, so I do not get long enough to read what its telling me, thus cannot figure out what I am being told. 

Is CubeMX really this buggy/ Is there some other view I can look at that will give me information about these conflicts so I may try to resolve them?

Sorry if this is a dumb question, its probably obvious if you know what you are doing.  Eclipse has always been terrible, and so far CubeIDE has not disappointed. 

On a less frustated note, I do have a Nucleo 144/ 429 board running with a blinkey example I managed to write and program to the board, so thats at least progress of sorts. 

Any help or pointers much appreciated, I hope to get to a point where I can be a contributor here instead of a nuisence... 

Gerry

 

gerrysweeney_0-1705947552503.png

 

    This topic has been closed for replies.
    Best answer by TDK

    Probably the best approach is to temper your expectations. CubeMX is written in Java, meant ostensibly for Windows, and cobbled together to support OSX and Linux. Even in Windows, where 90+% of its users exist, it has flaws and general performance issues. The OSX and Linux support are just never going to work as well. If the worst issue you have is that tooltips disappear after 1s, consider yourself lucky.

    In Windows, if something disappears before I can see it, performing a using print-screen and bringing up the screenshow in ms-paint will let me read what it says. I'm sure OSX has something similar.

    The standalone CubeMX may work better, if you want to try that. I prefer that over the CubeMX integrated withiniSTM32CubeIDE.

    3 replies

    TDK
    TDKBest answer
    January 22, 2024

    Probably the best approach is to temper your expectations. CubeMX is written in Java, meant ostensibly for Windows, and cobbled together to support OSX and Linux. Even in Windows, where 90+% of its users exist, it has flaws and general performance issues. The OSX and Linux support are just never going to work as well. If the worst issue you have is that tooltips disappear after 1s, consider yourself lucky.

    In Windows, if something disappears before I can see it, performing a using print-screen and bringing up the screenshow in ms-paint will let me read what it says. I'm sure OSX has something similar.

    The standalone CubeMX may work better, if you want to try that. I prefer that over the CubeMX integrated withiniSTM32CubeIDE.

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

    Hi TDK, 

    I think "tempering my expectations" is probably a good idea. I have been programming C++ for nearly 30 years, I use VC++ and VSCode daily so am well versed using IDE's/dev environments, and they are two of the very best in the business, so yeah I guess my expectations are not aligned with the realities of a Java/Eclipse IDE which is terrible. I did think that perhaps most people use Windows, so, I will look at switching over to to see if thats any better. 

    I can do a screen grab probably, I was hoping there might be a better way but I can certainly do that. 

    Its a real shame ST don't put some effort in here and build their IDE around VSCode, which is infinitely better than Eclipse.  

    There is a really nice embedded Dev environment called Platform.io but what it wont have is the fancy configuration UI which I have to say, in comparison to Microchip and Arduino, its pretty outstanding, thats a great tool that makes getting your project peripherals up and running.  Credit where credit is due...  I have stuck with the ST provided ID while I try to figure out how to use their microcontrollers, once I am comfortable with the part and ecosystem, I may brave PlatformIO and see how that works. 

    You mentioned CubeMX vs CubeIDE... these are different things?  Well that was not obvious... I will try the other one on Windows and see how that works out.

    Thanks for your reply once again, appreciate it. 

    Gerry

    TDK
    January 22, 2024

    We have roughly the same background and feelings.

    VSCode is very nice, shiny, new and fast. But it is a relative newcomer in the IDE field. It has some amount of Microsoft support so we'll see how long it lasts. There is an offical STM32 plugin for VSCode. I haven't tried it. Probably it works okay but is lacking many of the features of STM32CubeIDE. May want to check it out:

    https://community.st.com/t5/other-tools-mcus/vscode-for-stm32-extension-1-0-0-released/td-p/143795

    STM32CubeMX is a standalone program. It was strictly a standalone program for several years before being incorporated within STM32CubeIDE a few years ago. The functionality is nearly identical. Maybe standalone will run better, worth a shot if you want:

    https://www.st.com/en/development-tools/stm32cubemx.html

     

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    AScha.3
    Super User
    January 22, 2024

    Hi,

    If you talk about the yellow triangle ... :)

    - this is only a warning, not all modes or pins available, because you already used some of them.

    You anyway see details, when you click on the yellow marked thing, here your usart1 :

    (mode , also yellow) will show you, whats available, or not (red). Thats all.

    +

    Yes, we all like some bugs in IDE more or less...

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

    Unfortunately, clicking the icon does not show any addtional information, I guess thats an OSX thing.  I did manage to grab a screen shot as @TDK suggested, so can see the error now. I cannot of course click on the documentation link to get more help.  Unfortunately as a noob to these STM32 devices I really can only guess at what this even means, 

    Also, appreciate they are only warnings, thank heavens,,, if they were errors I would not only not know what they mean but the project would not work either lol

    gerrysweeney_0-1705950444971.png

     

    AScha.3
    Super User
    January 22, 2024

    Misunderstanding - not ON the icon, just ie in usart1 "mode" click in the selection box "disable" , then you see , whats (still) possible or not.

    +

    CubeMX is a separate program, to edit the pinout + generate code then. 

    In IDE its just integrated, for a better "all in one" feeling. (Just the bugs...destroy the feeling ...)

    +

    If you like VScode, should be possible to use also: 

    https://marketplace.visualstudio.com/items?itemName=stmicroelectronics.stm32-vscode-extension

    or - not by STM - :

    https://marketplace.visualstudio.com/items?itemName=bmd.stm32-for-vscode

     

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

    Oh man, I will heavily caveat my links to that plugin in the future. Thanks @AScha.3 @Oskar_H @gerrysweeney for testing. I guess it is somewhat to be expected since the first release was a year ago and it has no updates since. Probably effectively abandoned.

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