Skip to main content
风正豪.1
Associate II
March 2, 2023
Solved

STM32CubeMX fails to generate normal files

  • March 2, 2023
  • 2 replies
  • 1733 views

Yesterday I was able to generate code normally using STM32CubeMX. But today I am generating code again using STM32CubeMX with a lot of undefined code. I sent the file to a friend and found that he generated the code once again using STM32CubeMX and it worked. But my computer still can't generate normal code again.0693W00000aI2bsQAC.png0693W00000aI2biQAC.jpg

This topic has been closed for replies.
Best answer by 风正豪.1

The version is 6.5.0, I reinstalled it three times, the first and second time still had problems, the second time suddenly it was fine.

2 replies

Pavel A.
Super User
March 3, 2023

Please show the very first error/warning message.

风正豪.1
Associate II
March 3, 2023

Every error is the same

Aymen ABBES
ST Employee
March 3, 2023

Hello 风正豪.1,

Thanks for sharing this issue. 

To further analyze your problem could you please provide:

  • The CubeMx and MDK-ARM versions
  • The project you are working on or your *.ioc file if it is possible

Kind regards,

Aymen

风正豪.1
风正豪.1AuthorBest answer
Associate II
March 3, 2023

The version is 6.5.0, I reinstalled it three times, the first and second time still had problems, the second time suddenly it was fine.