Skip to main content
Associate
May 14, 2025 3:54 AM UTC
Question

Cannot generate the IDE project

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?

This topic has been closed for replies.

4 replies

GMA
ST Technical Moderator
May 14, 2025 7:24 AM UTC

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 'Best answer'.Best regards.GMA
hijimasaAuthor
Associate
May 14, 2025 11:50 AM UTC

FW package

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

1.6.0 and 1.6.1 seem to be available.

GMA
ST Technical Moderator
May 15, 2025 7:32 AM UTC

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 'Best answer'.Best regards.GMA
hijimasaAuthor
Associate
May 16, 2025 1:20 AM UTC

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.