Skip to main content
Associate
May 14, 2025
Question

Cannot generate the IDE project

  • May 14, 2025
  • 2 replies
  • 451 views

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?

2 replies

GMA
Technical Moderator
May 14, 2025

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
hijimasaAuthor
Associate
May 14, 2025

FW package

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

1.6.0 and 1.6.1 seem to be available.

GMA
Technical Moderator
May 15, 2025

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
hijimasaAuthor
Associate
May 16, 2025

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.