cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 vscode extension does not launch CubeMX or MCUFinder (mac)

CommercialIll4414
Associate II

i've just installed all necessary requirements for the STM32 vscode extension however it doesn't seem to launch cube mx or mcu finder when i click launch from vscode. not sure if its incorrect paths or permission issues?

please see the screenshot for the path settings

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

Hello all, 

For everyone that came across this issue, for "Launch STM32CubeMX", "Launch STMCUFinder", you have to set the executable path not only the path of the folder, it should be something like this for windows:  

SarraS_0-1730885846607.png

And something like this for mac: 

Home\xx\STMCUFinder\STMCUFinder
Home\xx\STM32CubeMX\STM32CubeMX

Hope that helps! 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

6 REPLIES 6
STTwo-32
ST Employee

Hello @CommercialIll4414 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

Have you downloaded and installed the STM32CubeMX and STMCUFinder on your machine. If no, please do it. If yes, please uninstall and re-install them.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

i did download and install them. i will try uninstalling and re-installing them. is there a recommended way to both uninstall and re-install them? it seems a bit unclear from the information i've found online

i can confirm i did a clean uninstall for both MX and Finder using their uninstallers (found in the package contents). i reinstalled them (also following this tip for opening the SetupSTMCUFinder installer file). i then gave vscode and MX full permissions on disk access and linked their paths in the vscode extension:

/Applications/STMicroelectronics/STM32CubeMX.app

/Applications/STMicroelectronics/STMCUFinder.app

/opt/ST/STM32CubeCLT_1.16.0

 

however im still running into the same issue where when i click "Launch STM32CubeMX" or "Launch STMCUFinder" nothing happens...

is this how its supposed to work or have i misunderstood?

any thoughts on this would be appreciated!

Rob.Riggs
Senior III

I have the STM32 VS Code extensions installed on my Macbook, along with STM32CubeMX and STMCUFinder, both installed in their default installation path ($HOME).

STM32CubeMX launched fine. But I had to change the settings for the location of STMCUFinder in order for it to work.

/Users/rob/STMCUFinder.app -> /Users/rob/STMCUFinder.app/Contents/Resources/STMCUFinder

This is the configuration for STM32CubeMX:

/Users/rob/STM32CubeMX.app/Contents/Resources/STM32CubeMX

In VS Code, open settings, search for STMCUFinder and change the installation path. It sounds like you will need to do the same for STM32CubeMX as well. 

Sarra.S
ST Employee

Hello all, 

For everyone that came across this issue, for "Launch STM32CubeMX", "Launch STMCUFinder", you have to set the executable path not only the path of the folder, it should be something like this for windows:  

SarraS_0-1730885846607.png

And something like this for mac: 

Home\xx\STMCUFinder\STMCUFinder
Home\xx\STM32CubeMX\STM32CubeMX

Hope that helps! 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.