cancel
Showing results for 
Search instead for 
Did you mean: 

ST Motor Control Workbench Not Detecting STM32CubeMX

VuralcanAkdeniz
Associate

Hello everyone,

I am currently using ST Motor Control Workbench v6.4.0 along with STM32CubeMX v6.14.1 installed on my Windows PC. Although STM32CubeMX is correctly installed and working independently, when I click "Generate Code" in the Motor Control Workbench, the program fails to detect STM32CubeMX. It shows the message:
“STM32CubeMX not found – ver. '6.0.0' or higher is required.”

With that, I am not able to detect "Target Toolchain" and "Firmware Package Version" on Motor Control Workbench 6.4.0

I would be grateful if you could assist or provide confirmation regarding this workaround or a more official solution in case of future updates.

3 REPLIES 3
CLD
ST Employee

Hello,
Please, can you provide us more information to identify better the problem:
1) operating system version

2) operating system language

3) MCSDK installation admin or user only

4) CubeMX installation admin or user only

5) Have you other CubeMX installed?

6) have you moved manually the CubeMx Installation folder?

7) CubeMx open regularly in standalone mode?

8) Check with registry editor if exist keys (one of the above at least) 
 -Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\STM32CubeMX*
 -Computer\HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft\Windows\CurrentVersion\Uninstall\STM32CubeMX*
for 64 and 32 branch.

Best Regards

 

 

 

 

VuralcanAkdeniz
Associate

1) Windows 10

2) Turkish, but i tried changing english aswell nothing changed.

3) Admin -systemwide- installation

4) CubeMX Admin -systemwide- installation

5) I had updated CubeMX to 6.14.1 version then uninstalled it  and then installed 6.13.0 version still the same

6) No, and i already updated to path location on environment variables settings, made sure same as installation folder.

7) Yes, CubeMX works flawlessly

8 ) Mentioned Keys doesn't exists.

Note: I have 2 computers, both of them having the same problem. Answers above is similar for other computer aswell both computers doesn't have keys. I used .exe installation of CubeMX. Does problem maybe related version? Although i read release notes and MCSDK is compatible at least CubeMX 6.13.0 version...

Thank you for your response, 
Best Regards

Hello,

Thanks to tests performed on Windows OS (Turkish language), it seems that some CubeMX installation information is missing in the related registry, so the MotorControl Workbench is not able to properly detect the installation.

A workaround is to install CubeMX in English:

1) Change the OS language to English (following the specific Windows OS instructions).
2) Install CubeMX after the language change.

Then, run the Workbench, generate a .stwb6 project, and verify that CubeMX is properly identified.

Best regards,

CLD