Skip to main content
Associate II
September 28, 2024
Question

Generate code button not doing anything

  • September 28, 2024
  • 4 replies
  • 3657 views

Hi! all

I may not be at the right place but since I can't even start on the CubeMx, here it is.

I'm a long time user of Microchip PIC product but since this is my first attempt to use the STM32 I suspect I will have some big time to understand all it's new setup. After looking several video on simple program, I downloaded the CubeMx 6.12.0 and I try those. But as soon as I try to push the blue "generate code" button at top far right, nothing happen. Same thing with the icon on top center "myST" login, nothing happen. I'd like to be able to use the STM32 board for larger and more memory space, so if someone  can help me on this one so I can move on to the programming section, that will be great.

I have the Nucleo-144 F429ZIT and STM32F4VE, and several smaller boards but never use them so far.

My goal is to talk to the STM32F4VE to "full test " the internal W25Q flash memory.

I also have the "St-Link V2" for those who don't have the link.

P.S. The board is not yet connected, is this a problem ?

I'm on Win7pro 64

Thanks all.

Sept 28 2024

4 replies

MM..1
Chief III
September 28, 2024

No for MX use no board connection is required, but W7 maybe is issue. ST installs dont right check existence valid library sometimes. Try install more recent VC redist Latest supported Visual C++ Redistributable downloads | Microsoft Learn

TDK
Super User
September 28, 2024

Win7 isn't supported anymore, but that's probably not the issue. But it could be.

Are you behind a corporate firewall or something similar? 

Might want to try the standalone STM32CubeMX where you can verify that your internet connection works as expected. Could also be ST's servers having issues, but no trouble here. The first time you click "generate code" it can take a while. I don't know what it's doing in the background, but it does seem to phone home.

TDK_0-1727540940263.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Dany0Author
Associate II
September 28, 2024

So the Windows update does nothing and as for the UPDATER SETTINGS when I click on "Check Connections" it seem OK. I'll try to upload some picture of the pages I have .

MM..1
Chief III
September 29, 2024

You realy have EWARM IAR installed in version as you sut in project manager toolchain?

Dany0Author
Associate II
September 29, 2024

So CubeMX only setup some files in a folder according to the Chip and the Peripherals we need, nothing more.

Then we need one IDE. In the dropdown there is :EWARM

                                                                              MDK-ARM

                                                                              STM32CubeIDE

                                                                              Makefile

                                                                              CMake

When I click on CubeIDE, there is a checkbox at right named "Generate under root", and it is "checked"

and nothing else after that.

So i will download "CubeIDE" and see what happen. Thanks again.

I read somewhere that CubeMX is part of CubeIDE,  so do I need to use CubeMX and then CubeIDE?

MM..1
Chief III
September 29, 2024

Yes CubeIDE have wizard MX part only for CubeIDE, then you dont require standalone MX , but you can have and use both. 

Pavel A.
Super User
September 29, 2024

I read somewhere that CubeMX is part of CubeIDE,  so do I need to use CubeMX and then CubeIDE?

Yes, CubeIDE has a plugin, "Device configuration tool" that is almost same as CubeMX.

But rumors are that they can reconsider this and divorce CubeIDE from CubeMX. If you already have the standalone CubeMX, just keep using it, and ignore the "configuration tool". There's nothing to regret.