STM32CubeMX, install on MacOs broken? - Page 1
Forum section: electronics / general

author: hwj-d
author_rank: Frequent Contributor
timestamp: December 12, 2020, 08:06:54 am
content: Hi,i'm trying to install STM32CubeMX (install V. 1.6) on my Macbook Pro (macOs Catalina 10.15.4). I don't want to update Catalina, because KiCad has problems with Big Sur in the moment. It seems, that the integrity of the install files are broken, the downloaded zip is ok. If i google problems with intall STM32CubeMX on macOs, the problems are there since over one year, and apparently not fixed.This is not a problem with rights, as I understand.What am i doing wrong. Know somebody the trick, how to install it?

author: ralphrmartin
author_rank: Frequent Contributor
timestamp: December 12, 2020, 07:28:26 pm
content: I have hacked it to install on MacOS in the past, by digging into the Application and running the program directly, but this may not have worked last time I tried (I cannot remember).However, not answering your question, but achieving the same result in a different way perhaps:What actually seems to work is to install the STM32CubeIDE instead.As far as I can see, it includes the functionality that is in STM32CubeMX and STM32CubeProgrammer.

author: dkonigs
author_rank: Regular Contributor
timestamp: December 13, 2020, 01:56:27 am
content: Quote from: ralphrmartin on December 12, 2020, 07:28:26 pmI've had to do the same, even on Big Sur. Ever since Catalina, I feel like OSX software has to jump through a new set of hoops to work correctly, and developers for whom OSX is a "we keep it at arms length and begrudgingly support it" platform just simply don't dedicate the necessary engineering resources to deal with Apple's shenanigans.

author: hwj-d
author_rank: Frequent Contributor
timestamp: December 13, 2020, 03:00:23 am
content: Hi,thanks for your answers. So, I know, that I'm not the only one and where the problem is.Will try the tip with STM32CubeIDE.

author: iopq
author_rank: Contributor
timestamp: December 13, 2020, 08:46:22 pm
content: hello. STM32CubeIDE very good works on Big Sur

author: TomS_
author_rank: Frequent Contributor
timestamp: December 14, 2020, 03:09:20 pm
content: Quote from: dkonigs on December 13, 2020, 01:56:27 amProbably why Microchip chose NetBeans as a foundation. Theres a bigger, wider foundation of developers for NetBeans as a product alone to take care of a lot of that, leaving Microchip just to focus on their little bit.(Everything has pros and cons though.)

author: ngnr
author_rank: Newbie
timestamp: March 06, 2021, 06:10:47 am
content: Hi,I work often with STM32CubeMX and many times I need to open it with java directly in order to work (ex. Updates, Downloads, etc). Try the following command but make sure the path is correct for your installation.sudo java -jar /Applications/STMicroelectronics/STM32CubeMX.app/Contents/Resources/STM32CubeMXFor the Installation is similar. Download the zip file from st.com directly and decompress it in the downloads folder for example. Then execute this from terminal again checking that the paths are correct for your version.sudo java -jar Downloads/en.stm32cubemx-mac_v6-2-0/SetupSTM32CubeMX-6.2.0-RC3.app/Contents/MacOs/SetupSTM32CubeMX-6_2_0Hope it helps.Ernest

author: dhamukrish
author_rank: Newbie
timestamp: August 20, 2021, 08:04:11 am
content: Slight modification as this includes permission for the STM32CubeMX directories. With this I could able to launch from STM32CubeIDE and MX. Hope this helps.Code:# Installsudo java -jar /Users/username/Downloads/en/SetupSTM32CubeMX-6.3.0.app/Contents/MacOs/SetupSTM32CubeMX-6_3_0# Change the Permissionsudo chown -R username:staff /Applications/STMicroelectronics/STM32CubeMX.app# Option 1 - Recommendedcp -r /Users/username/Downloads/en/jre /Applications/STMicroelectronics/STM32CubeMX.app/Contents/Resources# Option 2java -jar /Applications/STMicroelectronics/STM32CubeMX.app/Contents/Resources/STM32CubeMX

author: harerod
author_rank: Frequent Contributor
timestamp: August 20, 2021, 06:27:06 pm
content: This is interesting - a list of installation problems on Win7-64:https://www.eevblog.com/forum/microcontrollers/is-st-cube-ide-a-piece-of-buggy-crap/msg3634441/#msg3634441Edit: layout

author: dkonigs
author_rank: Regular Contributor
timestamp: August 21, 2021, 01:34:28 am
content: Quote from: harerod on August 20, 2021, 06:27:06 pmI'd take all those complaints with a grain of salt. The person doing the bulk of the complaining seems to be dedicated to trying to break his setup in weird and unique ways, just so he can complain about how the software doesn't handle said nonsense very well.However, Windows 7 is pretty old by now and probably not what you should be running anymore. The tools work perfectly fine on Windows 10.