cancel
Showing results for 
Search instead for 
Did you mean: 

ST Motor Control Workbench Stuck at project generation

krbmr
Associate II

Hi there!

I am trying to spin a motor with a STM32F3 MCU and the Motor Control SDK.

I am able to use the Motor Profiler to generate a profile of my PMSM and spin the motor via the computer. Importing the motor profile into the ST Motor Control Workbench also works fine.

When I try to generate the project files in the ST Motor Control Workbench, no files are generated and the window seems to be stuck forever without any log output in the project file generation window or in the main window.

My Setup:

HW:

- NUCLEO-F302R8 Logic Board

- X-NUCLEO-IHM07M1 Power Stage

- MAXON ECi PMSM Motor

SW:

- STM32CubeIDE 1.4.0

- STM32CubeMX 6.4.0

- Motor Profiler 5.Y.3

- Motor Control Workbench 5.Y.3

- "Firmware Package Version" was installed via CubeMX, is found by Motor Control Workbench and is available in: STM32FW V1.11.2 and STM32FW V1.11.3

Computer HW/SW:

- Tried on two machines with WIN10, both show the same result.

My Steps so far:

- Assemble HW (stack the two boards, attach Motor (maxon ECi))

- Connect Nucleo Board to PC

- Connect to Board via motor profiler

- Update FW on Nucleo Board via motor profiler (probably had some other stuff on it...)

- Run Profiling and save

- New Project in ST Motor Control Workbench with motor profile

- Check Pinout - ok

- Generate Code via dialog. Tried all Versions of the Firmware Package Version and both HAL and LL options.

- The Window "Project Generation" then stays open forever and does not show any log output or files.

Any Ideas how we can get this to run? Any Input is highly appreciated!

Thanks and stay safe!

Jakob

15 REPLIES 15
krbmr
Associate II

Hi!

Anyone got any Idea about this?

Maybe @ST, you can help out with this? We would really love to use this solution in out products.

Any Information that I can help you with to ease debugging?

Thanks,

Jakob

SCrum.1
Associate III

I had this same problem with a different hardware combination.

I don't know exactly what the problem is but I downgraded to STM32CubeMX 6.3.0 the generation doesn't hang.

Ronny Landsverk
Associate III

Same problem.

Even the example projects won't generate

THöfl.1
Associate II

Same Problem since update to Cube MX 6.4.0.

I also have different Hardware. 

THöfl.1
Associate II

There is no major fault in the logfiles:

2021-12-10 21:54:30,387 DEBUG [ArgsValue.readPropertiesFile] [UserConfig] do not exist in "C:\Users\XXXXXX\.st_motor_control\wb2mx.properties"

there is no such file wb2mx.properties.

2021-12-10 21:54:30,492 DEBUG [Main.run] Targeted MCU family = F0

2021-12-10 21:54:30,540 DEBUG [Main.run] Minimum associated CubeMx to the `F0` targeted MCU family is `4.25.0-a0`

2021-12-10 21:54:30,570 DEBUG [WindowsCubeMxFinder.lambda$findThem$2] Found 64-bit subkey HKEY_LOCAL_MACHINE\~~~\Uninstall\STM32CubeMX

2021-12-10 21:54:30,595 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2021-12-10 21:54:30,596 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2021-12-10 21:54:30,619 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2021-12-10 21:54:30,619 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2021-12-10 21:54:30,655 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2021-12-10 21:54:30,655 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2021-12-10 21:54:46,234 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2021-12-10 21:54:46,234 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2021-12-10 21:54:46,295 DEBUG [EnvironmentChecker.checkPack] STM32CubeMX.Version: 6.4.0-RC4

2021-12-10 21:56:30,269 WARN [Main.lambda$run$0] Aborted by the user

2021-12-10 21:56:30,293 DEBUG [Main.lambda$run$0] System exists with return code 4

?

DQi.1
Associate

try use Stm32CubeMX V5.x

MDega.2
Associate II

Same problem here,

removing CubeMX 6.4 and replacing it with 6.3 solved the issue.

SpinKernel
Senior

Same here, 6.3 works. Thanks all!

fchan.1
Associate

I had similar problem with Motor Control Workbench 5.4.8.

The Window "Project Generation"  will report the following error message: 

"The ST intranet updater server is unknown: mcucrossselector.codex.cro.st.com"

Downgrading STM32CubeMX to 6.3.0 can solve the problem.