Skip to main content
Visitor II
August 2, 2018
Question

STM32CubeMX Mac updater does not work

  • August 2, 2018
  • 11 replies
  • 4378 views

Hi,

whenever I try to run the CubeMX updater on MacOS, using sudo, the update will fail with:

" Updater cannot write on Software Folder. It's probably due to a bad Acces Privilege."

I tried to give everyone, admin and me the right to read and write the folder and the app itself. No success!

Anybody knows how to make it work?

Thanks

    This topic has been closed for replies.

    11 replies

    Technical Moderator
    August 10, 2018

    Hi @Till Rachow​ ,

    Your seen behavior is reported to our CubeMX team.

    We will update you ASAP.

    Khouloud.

    Visitor II
    August 17, 2018

    Hi @Till Rachow,

    Thanks for your feedback,

    Unfortunately, I have not been able to reproduce this issue. Can you please help us to solve this by:

    • Indicate your CubeMX version.
    • share your .log file ( you will find it under this directory: Users/..../.stm32cubemx/).
    • inform us about the access mode for your "repository" folder: can you please apply ls -ll for "STM32Cube" folder (/Users/.../STM32Cube/).

    Thanks in advance for helping to complete this thread,

    Best regards,

    Mohamed

    Visitor II
    August 20, 2018

    Hi @Mohamed Mansouri​ ,

    I have CubeMX Version 4.26.1

    -ll gives me : drwxr-xr-x 11 username staff 352 2 Aug 16:57 Repository

    Thanks,

    Till

    Visitor II
    August 23, 2018

    Have the same problem with the V4.19.0.

    Visitor II
    August 23, 2018

    On Win7 64Bit Ultimate

    Visitor II
    August 30, 2018

    Hi @Till Rachow​,

    Unfortunately, i couldn't reproduce this issue. Installing CubeMX using sudo and under application folder, I succeeded to launch the updater without any problems.

    Can you please tell us if you are using Proxy or WiFi for internet connection.

    Can you also, please, give more details about the steps to reproduce this bug (how did you launch the updater, when exactly did the pop up message occur).

    Try to delete this two folders: .stm32cubemx and .stmcufinder ( you find it under /Users/tilljascharachow/) and check if there are generated again when you restart CubeMX.

    Best regards,

    Mohamed

    Visitor II
    September 21, 2018

    I am having the same problem with Mac. Plus funny that the error message has some typos ("It's pobably" and "Acces". Anyone has been successful with this? Plus installing the 32L476 package doesn't work well either... I wish ST would pay more attention to their development community.

    Visitor II
    October 28, 2018

    Hi when i update CubeMX Version 4.27, i have same problem with you

    for solving this, i just run MX Cube icon in dekstop with 'Run As Administrator' and it works normally

    Maybe it can works with you

    Thanks

    Visitor II
    April 26, 2019

    I have the same problem. Running Mojave 10.14.4, STM32CubeMX Version 4.22.1 (STM32Cube V1.0) .

    I launch the app with sudo: $ sudo open -a /Applications/STMicroelectronics/STM32CubeMX.app

    I select menu Help>Check For Updates

    I am offered MX.5.2.0 and I check this box, then click on Install Now

    FIles download and a dialog appears "You need to restart STM32CubeMX with Administrator privileges to terminate installation"; I click OK

    I close the Update Manager window

    I File>Exit from the main window

    I launch the app with the same sudo (see above)

    The update always, always fails claiming error "Software cannot write on Software Folder."

    Visitor II
    September 24, 2019

    Hey guys, I had the same problem but just now solved it. If anyone is still wondering how to solve this issue I did it the following way:

    • Find the STM32CubeMX file in your /Applications folder
    • Right-click -> "Show package contents"
    • Locate STM32CubeMX in Contents/Resources/
    • Open terminal and use "sudo USER/Applications/STMicroelectronics/STM32CubeMX.app/Contents/Resources/STM32CubeMX"
      • tip: You can write "sudo " then drag n' drop the STM32CubeMX-file in package contents.
    • Go download the update in "Check for updates" in the cubeMX app. The program will tell you to restart.
    • Exit the program and start the program again as instructed above. Now it should be updating.

    Visitor II
    February 5, 2020

    ALiss, thank you, This method worked for me. Cube 5.40 to 5.50 on macOS 10.15.3 Catalina.