Welcome to Our Community

Some features disabled for guests. Register Today.

Flashing BlackBox X32

Discussion in 'General Talk' started by Odin187x, Jun 15, 2024.

  1. Odin187x

    Odin187x New
    Builder

    Joined:
    Nov 29, 2021
    Messages:
    8
    Likes Received:
    1
    Fairly new to the CNC world so, please forgive any misused or lack of correct terminology.

    I have recently put together two machines (a cnc router and laser) that I am using a Blackbox X32 to control. Each machine has their own; however, I am having issues flashing the board on the BlackBox for my laser.

    The reason I am attempting to flash the board to begin with is because, the machine faults out when I attempt to home it. I have been doing research and, from what I can gather, it is because it is trying to home the z axis fails to do so. I do not have a motor or limit switches hooked up for the z axis. So, I was trying to change the settings to two axes homing, compile, then flash. Well, it fails every time.

    Without having my machine in front of me, it was unable to connect to the board. I have tried a multitude of different solutions: Unplugging everything and plugging back in, unplugging everything that isn't needed to finish the flashing, updating drivers, compiling the config.h file to hex. then finishing through OB control (couldn't find anywhere to do this in the software), Arduino IDE, OB Control, LaserGRBL--I just can't find any solution.

    I'll add this information just in case it is pertinent:

    The limit switches are wired NC
    They are wired correctly (for NC)
    The machine runs and cuts/burns
    The limit switches, when manually depressed, throw hard faults
    It fails every homing attempt

    I don't know if it is worth mentioning but, I also cannot get it to connect to LightBurn. Which is very unfortunate because, it is currently the only software that I have paid for. I can get it to connect to OB control but, I cannot get it to run anything. The only successful burns have been through LaserGRBL.

    I do know (think I do), that OB would prefer the NO configuration; however, I have read and hear from many sources that the NC configuration is the safest. I would very much like to use it because of that reason.
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    No reflash needed. Homing is configured in $44-$45 on grblHAL. Set $44=1, $44=2 (X then Y, no Z) or $44=3, $45=0 (XY together, no Z)

    Should work. But best to direct the Lightburn specific questions to Lightburn (You are paying them for support too hehe)

    Set $5=0 in Grbl Settings

    X32 uses GrblHAL, old 8 bit Grbl cannot be flashed too it, config.h no longer relevant, and Arduino certainly wrong tool for it too :)
     
    #2 Peter Van Der Walt, Jun 16, 2024
    Last edited: Jun 16, 2024
  3. Odin187x

    Odin187x New
    Builder

    Joined:
    Nov 29, 2021
    Messages:
    8
    Likes Received:
    1
    You sir are incredible. How you are able to respond to so many people is beyond me. I feel like superpowers must be involved.

    Fair point, regarding LightBurn. I will make these adjustments, then see if anything changes (with connecting to the software). I doubt it will but, if it doesn’t, I’ll reach out to them afterwards.

    I appreciate the information and look forward to plugging those in when I get home today! Thank you for your time and effort, it is very much appreciated!

    I spent days trying to figure this out and you, seemingly, solved it without much effort. One night I was up until 3am and had to be to work at 7am… That was rough.

    Also, those Blackboxes are incredible. I had a box that I had made (roughly the same size as a computer tower), to hold all of the components that would be required for this build. Which, took a decent amount of time and effort to make. Toggle switches, running the wires, learning to wire the switches correctly (for me), learning the difference between momentary switches vs latching (after purchase, of course), holes for PWM fans, board for PWM control, etc. etc.

    Thankfully, I only had one made up before I deciding to buy two of the Blackboxes. I am glad I learned the stuff I did from making one; however, factoring the time it took to learn how to do it correctly, the money it cost for the components/hardware/lumber, and the actual assembly, I am still up. Kudos to whomever designed those!
     
    #3 Odin187x, Jun 16, 2024
    Last edited: Jun 16, 2024
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Quick check but your LightBURN is up to date right
     
  5. Odin187x

    Odin187x New
    Builder

    Joined:
    Nov 29, 2021
    Messages:
    8
    Likes Received:
    1

    It is.
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Play with the Enable DTR setting: Try it with and without

    upload_2024-6-18_21-18-23.png
     
  7. Odin187x

    Odin187x New
    Builder

    Joined:
    Nov 29, 2021
    Messages:
    8
    Likes Received:
    1
    Apologies, I missed this. DTR is off, I will try it now while one.
    One thing I have noticed, is when I go to devices and connect to the machine, the motors initialize as if connected but, I cannot pull up my GRBL settings in LightBurn. It doesn’t show any settings or machine when I go to machine settings.
     

    Attached Files:

  8. Odin187x

    Odin187x New
    Builder

    Joined:
    Nov 29, 2021
    Messages:
    8
    Likes Received:
    1

    Turning the DTR on has given me control over the machine. I have only jogged, at the time of writing this but, this is very promising. I appreciate your time, effort, and help on this matter!
     
    Peter Van Der Walt likes this.
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    See your post in other thread, i tested it recently (see post #8 in that thread) just follow the docs instructions including the Troubleshooting section near bottom of the docs page
     

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