2025-02-15 01:40 PM - edited 2025-02-15 01:43 PM
I've already seen 2 posts on this issue:
Before redirecting me to any of those, I'll mention I get the same error but the answers, including the accepted one, don't solve my issue.
I went to STM's site and downloaded the latest version of STM32CubeIDE. It says workspace_1.17.0.
When I create the project, the following error shows up when it fails to generate code:
So I do exactly this:
I enter my existing account info:
And nothing happens. The first time I did that it seemed like stuff are moving at the bottom right part of the screen, but It finished and still nothing.
After configuring the board, when I click "Device Configuration Tool Code Generation" it will momentarily bring up a window and close it immediately. Bottom line I can't generate code for my project.
Unlike what's written in the accepted answer in one of the posts linked above, there is NO "myST" tab in my IDE. When I try to connect again, it doesn't show that I'm logged in, but if I enter my account info for the second time anyway, it will show the following error window
Help --> Check for updates does nothing - i see no response to clicking it. When I tried to close the environment I saw a window specifying "No updates found".
I tried restarting the environment, all stays the same.
This is all very buggy. help please
2025-02-15 02:07 PM - edited 2025-02-15 02:21 PM
Unfortunately this notorious bug raises its ugly head every so often. For immediate help, you can download the STM32Cube software package from ST website. If you can log in to the web site (as you've managed to post the question here) - download the package, as zip file. Then in CubeIDE click Help -> Manage embedded software packages and select "From local".
Then you can build and debug in CubeIDE *without* a single login to MyST.
2025-02-15 02:17 PM
Hi,
just - for which cpu is your project ?
-> try: menu help -> configuration tool -> manage...packages
select the package for your cpu -> install
what happens ?
2025-02-15 02:20 PM - edited 2025-02-15 02:25 PM
Hello @FredBarkins
This should be working but I can recommend you to try two other methods:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-16 12:12 AM - edited 2025-02-16 12:14 AM
Thank you very much for your answers. From what I understand from your answers, I need to install the right packages for my board, one way or the other. I'm trying to program the STM32 Nucleo-F446RE.
@Pavel A.you suggested to download from the site. I converged to this link: https://www.st.com/en/embedded-software/stm32cube-mcu-mpu-packages/products.html
a) Is this what you meant?
b) Is "STM32F4" the right selection in my case (Nucleo-F446RE)?
c) Should I download one of these:
And save it in a specific place?
@AScha.3I go there and get the following list:
a) Is "STM32F4" the right selection in my case (Nucleo-F446RE)?
b) If so, there are plenty of packages to choose from, all with the same name (you can see the first 3 in the picture above), different size and different details. Should I choose a specific one or all of them?
@STTwo-32There's no "Updater Settings" under Help. I went to the FAQ pages you linked, where it says to git clone and replace "1234" with the right series of the cube package. What should I write for when using the Nucleo-F446RE? Must I clone it to a specific location?
2025-02-16 12:20 AM
Hello @FredBarkins
For the method of @AScha.3 , select the version 1.28.1 and click on install button it will ask you to login.
For the ‘1234’ you should replace them by F4 In your case.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-17 03:34 PM - edited 2025-02-17 03:52 PM
> I converged to this link .... Is "STM32F4" the right selection in my case (Nucleo-F446RE)?
Yes exactly this. Get the latest version unless you want other specific version.
> c) Should I download one of these:
Ah, this is a complicated moment. Versions that end by .0 (1.28.0) are major releases. You can get only this and it can be enough. Things that end by other digit (1.28.1) are called patches (updates) that are based on closest major release. If you want version 1.28.1, first install base package 1.28.0 then install the patch 1.28.1 OVER it.
To install, use the "Manage software packages" tool of CubeIDE or CubeMX. Click "From Local". This will install it to the right place - again unless you want other location.