Welcome to Our Community

Some features disabled for guests. Register Today.

Can't load new Grbl compile to BlackBox

Discussion in 'CNC Mills/Routers' started by Jamie Riotto, Aug 9, 2023.

  1. Jamie Riotto

    Builder

    Joined:
    Jan 31, 2015
    Messages:
    3
    Likes Received:
    1
    Ok, sorry if I'm being a dope. I am trying to get a dual-axis (X) config working with auto-square homing. To
    start I decided just to compile a fresh download of Grbl with no modifications from "Releases · gnea/grbl", v1.1h (2019-08-25) Release.

    I move the grbl directory under the zip file into c:/user/me/Documents/Arduino/libraris/grbl. It has the config.h and all the other files, which I've left untouched.
    I started up Arduino IDE, set the board to Port 4 (USB) Arduino Uno, set the example to grbl/grblUpload.
    I pressed Verify/Compile and all compiled.
    When I look in the sketch directory I see: grbl/examples/grblUpload/build/arduino.avr.uno and in that directory I find
    - grblUpload.ino.hex
    - grblUpload.ino.with_bootloader.hex
    - grblUpload.ino.with_bootloader.bin

    I go into OpenBuilds Control v1.0.370 and select "Wizards & Tools" / "Firmware Flashing Tool"
    I select "Blackbox X32" / "FTDI USB to Serial COM4" / "Custom: firmware .bin file:
    and point the custom image to the 1st hex file (I've tried both with same results, which of these three files am I supposed to send?) and press "FLASH"

    I get the following error
    -------------------------------
    [Starting...]
    esptool.py v2.6 Serial port COM4
    X Traceback (most recent call last): File "esptool.py", line 2959...
    FIle "site-packages\serial\serialwin32.py", line 62, in open serial.serialutil.SerialException: could not open port "COM4": Windows Errror(5, "Access is denied.")
    Failed to executed script esptool
    Firmware : Update FAILED
    ------------------------------------

    I have no trouble connecting to the device normally, and I could recover by using the Flash Wizard to flash a 4 Axes CNC/Laser config.

    Any help would be appreciated. Again, I'm just trying to prove I can compile / upload the vanilla grbl BEFORE I edit the config.h file to enable dual axis / auto-squaring homeing.
    Thanks! - jamie
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,919
    Likes Received:
    4,291
    That, is the old Grbl for 8-bit ATmega based controllers

    If you have an x32 you aren't running Grbl. You are running grblHAL!

    So, simply head over to the grblHAL Web Builder: http://svn.io-engineering.com:8080/?driver=ESP32&board=BlackBox X32 to configure custom firmware binaries

    Flashing the wrong firmware would not have worked even if it did connect.


    It wanted a grblHAL BIN, not a old grbl HEX.


    Apart from that - the actual error "Access Denied" means something is still connected to COM4. Disconnect CONTROL, or any 3rd party applications you installed that may be talking to COM4 already
     
  3. Jamie Riotto

    Builder

    Joined:
    Jan 31, 2015
    Messages:
    3
    Likes Received:
    1
    Ok, as usual, you guys are spectacular! I had upgraded from a Blackbox 4 to a BlackBox32 and missed the whole grbl -> grblHal transistion.
    Used the web builder and it appears that everything is working. Thanks again...
     
    #3 Jamie Riotto, Aug 10, 2023
    Last edited by a moderator: Aug 10, 2023
    Peter Van Der Walt 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