cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL SPIN3202 setup

ArchiB
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
ASA
ST Employee

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

 

 

If you agree with my answer, please accept it by clicking on 'Accept as solution'.

View solution in original post

5 REPLIES 5
ASA
ST Employee

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

 

 

If you agree with my answer, please accept it by clicking on 'Accept as solution'.
ArchiB
Associate

[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

ASA
ST Employee

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

 

 

If you agree with my answer, please accept it by clicking on 'Accept as solution'.

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

ASA
ST Employee

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.

If you agree with my answer, please accept it by clicking on 'Accept as solution'.