Welcome to Our Community

Some features disabled for guests. Register Today.

Slave X on Blackbox x32

Discussion in 'Controller Boards' started by sergiomajluf, Oct 31, 2023.

  1. sergiomajluf

    sergiomajluf Well-Known
    Builder

    Joined:
    Jun 2, 2020
    Messages:
    44
    Likes Received:
    37
    I have a blackbox v1.3 and can't figure out how to slave X over Y2 port. I found documentation for the BB4x, but nothing for the x32. Is it configurable, or am I stuck only slaving Y axis?

    Thanks!
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,261
    Likes Received:
    4,356
    sergiomajluf likes this.
  3. sergiomajluf

    sergiomajluf Well-Known
    Builder

    Joined:
    Jun 2, 2020
    Messages:
    44
    Likes Received:
    37
    Thanks Peter!
    Followed that same post and it worked. Unfortunately CONTROL on Mac still cannot flash the ESP.
    I've made sure Python is installed, aliased python3 to python, created env, and many many other things :/

    Fortunately downloading esptool.py did allow me to flash the firmware generated over http://svn.io-engineering.com:8080/?driver=ESP32&board=BlackBox X32
     
  4. sergiomajluf

    sergiomajluf Well-Known
    Builder

    Joined:
    Jun 2, 2020
    Messages:
    44
    Likes Received:
    37
    These steps might help other Mac users that need to update their firmware. We need several pieces of software. Fortunately, installing them is staightforward on a Mac's Terminal.

    We also need to create the firmware, bootloader and partitions bin files. The are all created in a single step using the website linked by Peter. Set up the options needed and click the "Generate and download firmware" You will download a zipped file. Double click it to extract the files we need. They will be ina folder named firmware in your Downloads folder.

    Lets begin:

    1. Open Terminal, and paste the following comands (the ones in bold), one at a time.

    2. Install Homebrew – a software package manager (think of it like a command line app store) – with this command
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    3.Install pyenv
    brew install pyenv

    4. Install a recent python (3.10) and set it up as the global version, because Macs can have multiples versions simultaneously
    pyenv install 3.10.0
    pyenv global 3.10.0
    pyenv version


    5. Open a new terminal window and install esptool
    pip install esptool

    Once its all done, you are now ready to upload the new firmware.bin, partition.bin and bootloader.bin files onto he BlackBox. The following command will take care of it, but there's still one thing to consider:

    You'll need to find the device name of your BB x32. In your terminal window type "cd /dev/tty.usb" without the quotes, and then press Tab (once or two times) It will show you the correct name for your device. Take note and press Ctrl+C to escape the command. Finally replace below with the corresponding devce Id for your controller.

    Then you can run this whole command, wait a minute and be ready!

    esptool.py -p /dev/tty.usbserial-AQ02S31F -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 ~/Downloads/firmware/bootloader.bin 0x8000 ~/Downloads/firmware/partitions.bin 0x10000 ~/Downloads/firmware/firmware.bin
     
    David the swarfer likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice