2025-12-16 6:15 PM
I am experiencing a "Code Generation" failure in ST Motor Control Workbench, even after performing a clean installation. I have read similar posts and did suggests.
To eliminate any "Turkish character", "Path length", or "User permission" issues, I created a brand new Administrator account named "stmdev" on my Windows 11 Home Single Language PC and set the system display language to English (US).
My Setup & Steps:
Created a root directory: C:\ST
Installed STM32CubeMX, STM32CubeIDE, and ST MC Workbench directly into this directory (e.g., C:\ST\MX, C:\ST\IDE, C:\ST\MCSDK).
Verified that standalone STM32CubeMX and STM32CubeIDE launch successfully first.
Created a basic motor control project in MC Workbench.
Upon clicking the "Generation" button, the process fails (CubeMX invocation issue).
It seems MC Workbench cannot locate or properly trigger the CubeMX/IDE toolchain, even though they are all installed in the same root directory (C:\ST) and the environment is set to English.
Could you please assist me in verifying the path configurations or linking these tools correctly?
System Info:
OS: Windows 11 Home Single Language
User Account: "stmdev" (Administrator, English Language)
Installation Path: C:\ST\ (Root directory for all tools)
Tools Installed: STM32CubeMX, STM32CubeIDE, ST MC Workbench (All latest versions)
2025-12-17 7:10 AM
Hello @Umit_Baba,
Did you review these similar posts?
St motor workbench CubeMx error - STMicroelectronics Community
Re: ST Motor Control Workbench Not Detecting STM32... - STMicroelectronics Community
2025-12-19 12:15 AM
Yes, I have reviewed the previous topics as I mentioned. Unfortunately, the issue remains unresolved in those threads as well. I even created a new English user account on my PC, but nothing changed.
After failing on my own computer, I tried the installation on my friend's PC which has default English system settings, and it worked without any issues. Now I have to ask my friend to do the work, but it is of course inconvenient.
This makes me suspect that the problem might be related to Turkish system language/locale settings. I wanted to bring this to your attention, as it might be affecting other users in this region as well. It would be great if the development team could investigate this possibility, as the software seems to have a bug regarding the Turkish system language.