cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot generate the IDE project

hijimasa
Associate II

Hi, Community.

When I try to generate an IDE project from the MotorControlWorkbench project I inherited, an error occurs.
I checked both cases where a previous IDE project existed and where only the stwb6 file existed, but neither worked.
The IDE, MX, and MotorControlSDK are installed.
Are there any special steps required to generate an IDE project on another PC?

4 REPLIES 4
GMA
ST Employee

Hello @hijimasa,

On stwb6_only.log, "Target STM32 FW : Latest", and for old_ide_project_exist.log, "Target STM32 FW : 1.6.0".
Does FW package 1.6.0 available on your setup?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

FW package

スクリーンショット 2025-05-14 204924.png

1.6.0 and 1.6.1 seem to be available.

GMA
ST Employee

Hello @hijimasa,

Can you load the generated ioc file in the CubeMx tool, and "Generate Code" with it?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

CubeMX successfully generated code in both cases: when a previous IDE project existed and when only the stwb6 file was present.
When a previous IDE project exists, building the generated code results in errors, but when only the stwb6 file is present, the build succeeds.
For reference, I have attached the build errors that occurred when a previous IDE project existed.
Although the cause of the errors in Motor Control Workbench remains unclear, since the build appears to be possible for now, I will delete the previous IDE project when editing the Motor Control Workbench project.