Author Topic: STM32CubeMX, install on MacOs broken?  (Read 6569 times)

0 Members and 1 Guest are viewing this topic.

Offline hwj-dTopic starter

  • Frequent Contributor
  • **
  • Posts: 676
  • Country: de
  • save the children - chase the cabal
STM32CubeMX, install on MacOs broken?
« on: December 12, 2020, 08:06:54 am »
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.  :o  This is not a problem with rights, as I understand.

What am i doing wrong. Know somebody the trick, how to install it?
 

Offline ralphrmartin

  • Frequent Contributor
  • **
  • Posts: 486
  • Country: gb
    • Me
Re: STM32CubeMX, install on MacOs broken?
« Reply #1 on: December 12, 2020, 07:28:26 pm »
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.
 
The following users thanked this post: hwj-d

Offline dkonigs

  • Regular Contributor
  • *
  • Posts: 120
  • Country: us
Re: STM32CubeMX, install on MacOs broken?
« Reply #2 on: December 13, 2020, 01:56:27 am »
I have hacked it to install on MacOS in the past, by digging into the Application and running the program directly

I'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.
 
The following users thanked this post: hwj-d

Offline hwj-dTopic starter

  • Frequent Contributor
  • **
  • Posts: 676
  • Country: de
  • save the children - chase the cabal
Re: STM32CubeMX, install on MacOs broken?
« Reply #3 on: December 13, 2020, 03:00:23 am »
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.
 

Offline iopq

  • Contributor
  • Posts: 12
  • Country: ru
Re: STM32CubeMX, install on MacOs broken?
« Reply #4 on: December 13, 2020, 08:46:22 pm »
hello. STM32CubeIDE very good works on Big Sur
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 848
  • Country: gb
Re: STM32CubeMX, install on MacOs broken?
« Reply #5 on: December 14, 2020, 03:09:20 pm »
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.
Probably 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.)
 

Offline ngnr

  • Newbie
  • Posts: 1
Re: STM32CubeMX, install on MacOs broken?
« Reply #6 on: March 06, 2021, 06:10:47 am »
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/STM32CubeMX

For 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_0

Hope it helps.
Ernest
« Last Edit: March 06, 2021, 06:17:00 am by ngnr »
 

Offline dhamukrish

  • Newbie
  • Posts: 1
  • Country: in
Re: STM32CubeMX, install on MacOs broken?
« Reply #7 on: August 20, 2021, 08:04:11 am »
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: [Select]
# Install
sudo java -jar /Users/username/Downloads/en/SetupSTM32CubeMX-6.3.0.app/Contents/MacOs/SetupSTM32CubeMX-6_3_0

# Change the Permission
sudo chown -R username:staff /Applications/STMicroelectronics/STM32CubeMX.app

# Option 1 - Recommended
cp -r /Users/username/Downloads/en/jre /Applications/STMicroelectronics/STM32CubeMX.app/Contents/Resources

# Option 2
java -jar /Applications/STMicroelectronics/STM32CubeMX.app/Contents/Resources/STM32CubeMX
« Last Edit: August 21, 2021, 07:52:06 am by dhamukrish »
 

Offline harerod

  • Frequent Contributor
  • **
  • Posts: 469
  • Country: de
  • ee - digital & analog
    • My services:
Re: STM32CubeMX, install on MacOs broken?
« Reply #8 on: August 20, 2021, 06:27:06 pm »
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/#msg3634441

Edit: layout
« Last Edit: August 20, 2021, 07:06:23 pm by harerod »
 

Offline dkonigs

  • Regular Contributor
  • *
  • Posts: 120
  • Country: us
Re: STM32CubeMX, install on MacOs broken?
« Reply #9 on: August 21, 2021, 01:34:28 am »
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/#msg3634441

Edit: layout

I'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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf