cancel
Showing results for 
Search instead for 
Did you mean: 

St motor workbench CubeMx error

ilker07
Associate

Hi everyone,I have problem about ST Motor Control Workbench.I can ' t generate project.I tried so many things(I installed and unistalled different versions , I changed OS language etc.) but I couldn't do it .Please help.stPic.PNG

21 REPLIES 21

I did exactly what you said but it didn't work.

ASA
ST Employee

Hi @ilker07 ,

I need some inputs :

- can you tell me if you are installing CubeMx with your admin account or not?

- can you check if when editing windows "register editor" in the following path Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall you have the Key for your installation of Cube Mx ()

 

Regards

 

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

q1 ==> yes

 

reg.PNG

ASA
ST Employee

@ilker07 ,

 

your register key status explains that the MC Workbench cannot detect whether a CubeMx version is installed or not.

Can you check also this key in the following path :  Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\STM32CubeMX

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

there is no folder named STM32CubeMX after  Uninstall.

ASA
ST Employee

@ilker07 ,

 

ok all this explain your problematic because the detection of CubeMx version through MC WB GUI is based on those windows keys, and the only way to solve it is to again, sorry but we need to do so again, is to

- uninstall and reinstall STM32CubeMx v6.2.0 or you can use also 6.4.0 which is compatible with MCSDK 5.4.8
- do it with admin rights and select whether you want it to be for you only or all users on the machine.

By the way, do you select the path where to install CubeMx or do you let the default path ?

 

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

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX

I did it as admin with right click but it didn't work.

ASA
ST Employee

Hi @ilker07 ,

 

what did you have in the windows register key now ?

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

Did you mean HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\STM32CubeMX?