Flash firmware install on Mac computer

Having difficulty getting the 1.17 firmware to flash memory using my Barr’s instructions on video for first time upgrade after 1.0. The firmware install starts to run and then I get a password/authentication line. See script message below and I am not sure how to authenticate to complete the script/install to complete. Any thoughts or ideas???

Thanks, Pete

Message:

Last login: Sat Feb 7 11:16:27 on ttys000

/Users/admin/Library/Mobile\ Documents/com\~apple\~CloudDocs/Maslow\ Firmware\ and\ Operating\ files/fluidnc-maslow4-1.17-posix/full-install.command ; exit;

The default interactive shell is now zsh.

To update your account to use zsh, please run `chsh -s /bin/zsh`.

For more details, please visit Use zsh as the default shell on your Mac - Apple Support.

Macintosh:~ admin$ /Users/admin/Library/Mobile\ Documents/com\~apple\~CloudDocs/Maslow\ Firmware\ and\ Operating\ files/fluidnc-maslow4-1.17-posix/full-install.command ; exit;

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

/usr/bin/apt

Password:

There is a little password icon at the end where it says Password:

1 Like

I was hoping that this was going to be one of those issues where someone more knowledgeable than me would answer, but that doesn’t seem to be the case. I’m on Mac too, but I’m not the biggest expert.

The simplest thing to do would be if you have a different computer to try that.

It’s also a bit of a longshot, but restarting the computer might help if the computer just installed a software update.

I just tested the 1.17 installer on my computer and I didn’t see a password prompt which is unfortunate because I was hoping it was an issue with the 1.17 installer.

I asked Gemini to tell me what to do and it said this which may or may not be helpful:


This is a very common issue for Mac users when running setup scripts for the first time or after a macOS update.

The problem isn’t actually with the Maslow firmware or the password initially; it is that your Mac is missing a specific set of “Command Line Tools” required to run the installation script.

Here is the breakdown of the error log you provided and exactly how to fix it.

The Error

The “smoking gun” in your message is this line: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

This means the script is trying to call a system tool (likely Python or Git) to flash the firmware, but macOS can’t find the necessary developer toolkit to run it.

Step-by-Step Solution

1. Install the Missing Tools You need to install the Apple Command Line Tools. You don’t need to download the massive Xcode app; you just need the small toolkit.

  • Open your Terminal app (Command+Space and type “Terminal”).

  • Copy and paste the following command and hit Enter:Bashxcode-select --install

  • A software update pop-up window will appear asking if you want to install the command line developer tools. Click Install and agree to the license.

  • Wait for that download/install to finish.

2. Handling the Password Prompt Once Step 1 is done, try running your firmware script (full-install.command) again. It will likely ask for your password again. Here is the trick that catches many people off guard:

  • When the Terminal asks for Password:, it is asking for your Mac login password (the one you use to unlock the computer).
  • Important: When you type the password, nothing will appear on the screen. No stars, no dots, no cursor movement. It looks like it is frozen.
  • Type your password “blindly” and press Enter.

3. Ignore the “Zsh” Message You can completely ignore the message about The default interactive shell is now zsh. That is just an informational notice from Apple and has no impact on your firmware installation.


Summary of Action Plan:

  1. Run xcode-select --install in the terminal and let it finish.
  2. Run the Maslow firmware script again.
  3. When asked for the password, type your Mac login password (even though it looks like you aren’t typing) and hit Enter.

Thanks for responding Bar, I actually researched the issue and installed xcrun, so I got past that issue and now have another:

Last login: Mon Feb 9 13:37:26 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
/Users/admin/Library/Mobile\ Documents/com~apple~CloudDocs/Maslow\ Firmware\ and\ Operating\ files/fluidnc-maslow4-1.16-posix/full-install.command ; exit;
Macintosh:~ admin$ /Users/admin/Library/Mobile\ Documents/com~apple~CloudDocs/Maslow\ Firmware\ and\ Operating\ files/fluidnc-maslow4-1.16-posix/full-install.command ; exit;
esptool.py --chip esp32s3 --baud 921600 dump_mem 0x3ff5a018 4 SecurityFuses.bin
./tools.sh: line 45: esptool.py: command not found
esptool failed
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

[Process completed]

Looks like the esptool failed. Not sure why… This seems more difficult than it should be. I don’t own a Windows machine and this is above my paygrade:-)

Pete

Yeah, setting up build tools is always a nightmare. I feel like this can turn into a endless process of trying to get things to install and talk to each other.

It feels like a bit of a waste but what if I just send you a new board with >1.0 installed on it and we just don’t solve this problem?

Pete Graves wrote:

./tools.sh: line 45: esptool.py: command not found
esptool failed
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

[Process completed]

Looks like the esptool failed. Not sure why… This seems more difficult than it should be. I don’t own a Windows machine and this is above my paygrade:-)

it’s probably not installed. The scripts attempt to install it, but probably
aren’t working correctly, a quick google search found this page

David Lang

Thanks, David, I appreciate that. I’ll give it a try.

Bar, that would be terrific. I have countless hours working on this and researching. I like your idea!
My address is:

Pete Graves
5652 Stauffer Cv SE
Caledonia, MI 49316

Let me know what else you need from me to send me a new board with the latest software update. Do we install 1.0 or go to 1.17?

Thanks again,

Pete

Pete Graves
Caledonia, MI
Mobile: 616-540-6059

1 Like

I DM’d you a code that should make the order free through our website.

It won’t come with the very latest software, but it will come with a version higher than 1.0 so you don’t need to deal with the installer to update to the latest.

Perfect! Thanks again Bar.

Pete

1 Like