Welcome to Our Community

Some features disabled for guests. Register Today.

Blackbox crashes when trying to home a second time with autosquaring enabled

Discussion in 'OpenBuilds Bug Report' started by isnie, Oct 15, 2024.

  1. isnie

    isnie New
    Builder

    Joined:
    Sep 28, 2024
    Messages:
    2
    Likes Received:
    0
    I have a Stronghold Pro with the BB 32. I recently changed the inductive switches that came with my machine to the Openbuilds limit switches to have auto squaring possibility.

    I flashed the BB 32 firmware with a build generated through http://svn.io-engineering.com:8080/?driver=ESP32&board=BlackBox X32 . When I start my machine and press the Home All button in the Control software my machine is homed and squared as expected. Everything else, like starting a job or jogging the machine works as well. However, if I press the Home All button again I get the following error and crash.

    Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
    Core 1 register dump:
    PC : 0x400dafb0 PS : 0x00060330 A0 : 0x800d8e5f A1 : 0x3ffb63a0
    A2 : 0x3ffb643c A3 : 0x3ffb6410 A4 : 0x3ffb6804 A5 : 0x3ffc3718
    A6 : 0x00000000 A7 : 0xc42feb33 A8 : 0x3ffb63ac A9 : 0x3ffb63ac
    A10 : 0x00000000 A11 : 0x3ffb6804 A12 : 0x00000014 A13 : 0x3ffc36dc
    A14 : 0x000124f8 A15 : 0xc42feb33 SAR : 0x00000007 EXCCAUSE: 0x0000001c
    EXCVADDR: 0xc42feb47 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
    Backtrace:0x400dafad:0x3ffb63a0 0x400d8e5c:0x3ffb6410 0x400d91b3:0x3ffb64c0 0x400da511:0x3ffb64f0 0x400e3e2a:0x3ffb6530 0x400e3eb9:0x3ffb6550 0x400e4049:0x3ffb6570 0x400dbe3d:0x3ffb65b0 0x400d45f8:0x3ffb65f0 0x400d1e7f:0x3ffb6620
    ELF file SHA256: bdea617fefcb93fd
    CPU halted.


    I simply disconnect and reconnect and I can then home again. Any idea what is causing this?
     
  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
    Inductives don't work so well in parallel. For autosquare we'd recommend Xtension Limit Switch Kit
    That does look like a firmware bug, so might want to report it here instead Issues · grblHAL/ESP32
     
  3. isnie

    isnie New
    Builder

    Joined:
    Sep 28, 2024
    Messages:
    2
    Likes Received:
    0
    Indeed, that's what I did after finding a topic on the subject matter on this forum.
    My limit switches are from the Xtension kit. Out of curiosity, how accurate/repeatable are these switches?

    I've opened a new issue on github.

    Thanks!
     
  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
    Very good, definately better than inductives (they are temp sensitive - temperature rise affects the B(H) curve of the magnetic core, etc - not always very repeatable).

    Inductives only really better in being waterproof if thats a requirement for a particular build, but otherwise a lever switch is more precise.
     

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