Skip to main content
Associate III
June 10, 2024
Question

CubeMX Freeze When Generating Code

  • June 10, 2024
  • 1 reply
  • 2351 views

Every time I try to generate code using the latest version of CubeMX, the software freezes and remains unresponsive for hours. I have tried using previous versions, but the problem persists. How can I resolve this issue?

Screenshot is attached below.

Please help regarding this issue.

1 reply

Ghofrane GSOURI
Technical Moderator
June 10, 2024

Hello @NajeebUllahKhan 

First let me thank you for posting.

Could you please provide your IOC , or at least the steps in order to reproduce the issue .

I will be waiting for your feedback.

THX

Ghofrane

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.
Associate III
June 10, 2024

Thanks for response.

I do following steps to generate code.

Open CubeMX.

Name the project and click copy only necessary libray files.

Select CubeIDE for code.

And leave rest as default as it is.

Then click on Generate Code.

Then CubeMX Bar Continue to fill half and then CubeMX gets freeze forever.

I tried to reinstall CubeMX, tried to restart PC but still problem exist.

Please help regarding this.

Ghofrane GSOURI
Technical Moderator
June 10, 2024

Hello again @NajeebUllahKhan 

I would appreciate it if you could tell me the operating system you are using.

THX

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.