First, please provide pictures of your board, machine, and wiring so that we can try to spot any concerns there
Then, use the M119 command on Smoothie firmware to test the endstops being read, as explained here:
Turn off homing on connect in LightBurn device setup so that you can do this without the board locking up, otherwise send M999 to clear the alarm.
Complete the M119 test properly - this involves sending the command while the head is “in the middle” - not touching any switches, when it is pressing the X switch, and when it is pressing the Y switch.
The result, and feedback that I am looking for, is 3 clearly identified response strings.
- “Here is the result of M119 when no switches are being depressed”
- “Here is the result of M119 when the X switch is being depressed”
- “Here is the result of M119 when the Y switch is being depressed”