2025-03-13 9:16 PM
getting following error while generating
MotorControl reference pack not found: "../../../../Middlewares/ST/MotorControl"
I have STEVAL SPIN3202 board for controlling BLDC motor in FOC mode, but while generating I got this error, please guide.
Solved! Go to Solution.
2025-03-14 1:25 AM - edited 2025-03-14 7:55 AM
Hello @ArchiB ,
could you please provide us which version of STM32CubeMx and MCSDK you are using.
Futhermore, could you verify that in your home directory C:\Users\ , it should contain a directory named as your login name and inside this directory you should have a .st_motor_control folder containing a wb2mx.properties file.
Additionally, please have a look at our ST Community guideline to ensure the best support from us "How to write a Motor control post to get a response quickly"
Regards
2025-03-14 1:25 AM - edited 2025-03-14 7:55 AM
Hello @ArchiB ,
could you please provide us which version of STM32CubeMx and MCSDK you are using.
Futhermore, could you verify that in your home directory C:\Users\ , it should contain a directory named as your login name and inside this directory you should have a .st_motor_control folder containing a wb2mx.properties file.
Additionally, please have a look at our ST Community guideline to ensure the best support from us "How to write a Motor control post to get a response quickly"
Regards
2025-03-16 10:01 PM
[PN]: STEVAL SPIN3202 version 3 board
[VERSION]: Using 5.4.8 x cube mcsdk, cubeMX 6.14.0, latest STlink driver
[TOOL]: using MC WB
[DETAILS]:
getting following error while generating
MotorControl reference pack not found: "../../../../Middlewares/ST/MotorControl"
I have installed cubeide version 1.18.0, and via cube MX i have installed en.stm32cubef0 and en.stm32cubel0_v1-12-0
I have verified that in home directory C:\Users\ , it contains .st_motor_control folder but it does not have wb2mx.properties file.
Additionally while experimenting with xcubeprogrammer i am able to connect and communicate with the board
please help
2025-03-17 1:40 AM
Hello @ArchiB ,
in your c:\Users\$USER_NAME\.st_motor_control folder, please create an empty file with the name wb2mx.properties
and try again to generate your project.
ps: which STM32CubeMx version are you using and also which version of MCSDK do you have installed?
Kind regards
2025-03-17 4:22 AM
I tried this solution but still getting same error
I am using x cube mcsdk version 5.4.8 and cubeMX version 6.14.0
2025-03-17 6:59 AM - edited 2025-03-17 7:10 AM
Hi @ArchiB,
with the use of MCSDK 5.4.8, you should get the STM32CubeMx version 6.4.0 as it is recommended one in the MCSDK release note.
If you want to work with our latest STM32CubeMx 6.14.0 you should get at the MCSDK version 6.3.2.