2021-11-28 05:56 AM
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
2022-01-18 10:08 AM
i have facing the same problem here its showing library is not installed but i installed cubemx library
you can visit this link
2022-01-28 04:51 AM
Note to everyone - new release of MCSDK:
V5.Y.4 / 18-Jan-2022
Main Changes
Version 5.Y.4 of the Motor Control Software Development Kit (X-CUBE-MCDSK) is a bug fix release of version 5.Y.3. Its main purpose is to add support of STM32CubeMx version 6.4.0.
2022-01-28 01:19 PM
The new Version 5.Y.4 work's great now! THX to ST!
2022-01-28 02:01 PM
Hi, i was to optimistic. It is now possible to generate a code with the 5.Y.4 and STM32CubeMX 6.4.0, but there are Faults. It was possible with the MX 6.3.0 but could still be a parameter setting on my side.
There is one strange red fault is: The ST intranet updater server is unknown: mcucrossselector.codex.cro.st.com
In the Motor SDK:
Type Time Motor Id Message
UNK 10:26:56 Generation files starting
UNK 10:34:34 Generation failed
In the IDE 1.4.0 after buid there is a fault:
../../Inc/mc_stm_types.h:171:20: error: '_01HZ' undeclared (first use in this function); did you mean 'U_01HZ'?
make: *** [Middlewares/MotorControl/subdir.mk:84: Middlewares/MotorControl/encoder_speed_pos_fdbk.o] Error 1
make: *** Waiting for unfinished jobs....
2022-01-30 04:37 AM
2022-02-07 12:33 AM
Still Having Problem.
any solutions?
I want to use F1 MCU series and can not migrate to 5.Y.x...
any help is appreciated.