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)