I have a working Primo build with dual endstop. Everything is working perfectly with Marlin firmware on my MKS Gen L v2.0 (with TMC2209 drivers).
I’d like to give GRBL a try. I did manage to flash the firmware to my board but I only have one stepper per axis moving. Z is moving Up/down. I did try a couple of forks mentionned here and there on this forum but always the same issue.
My guess is that I don’t have the correct pins mapped out for those two steppers but I have no idea where to start looking exactly.
So I’ve managed to get this thing working, almost.
My issue was with the wrong estep settings, X2/Y2 were energized but not moving.
I finally figured out the correct mapping for my steppers directions, I can move X/Y/Z in the right direction (both motors move at the same time for X1,X2/Y1,Y2) but I’m having issues with my Z probing…
I have my aligator and touch plate connected to the Zmin - and signal pins but when I home Z it’s like inverted, touch plate has to make contact for Z to move and start the homing process. I have tried the $6=1 (and 0), same thing.
For now I have disabled the Z homing in the firmware (so only homing XY and homing Z by hand)
Z min/max pins are used for Z endstop in GRBL firmware.
Z probe pin is A15 -> TH2 on my MKS Gen L v2.0.
I couldn’t figure out to invert the pins in the firmware so I just connected the probe there instead, everything works now!
Have you tried any of these? Grbl-Mega Grbl Mega 5X
There is also an alternative you can try µCNC this one is developed and maintained by me. Uses the same protocol as Grbl.
Ok. Sorry for the late reply. I did a very quick test on µCNC on my MKS Gen L v1.0 with TMC2208 and at least I was getting motion on X and Y. Z was not moving but I did not had time to check if it was something that I configured wrong or any other problem. Maybe I’ll be able to check it later tonight.
EDIT: Actually Z is moving. The problem is that I was doing 1mm motions and it’s all so silent that I didn’t even noticed the motion.
ObiFredKenobi you say your marlin is good for your mks could you send me your marlin files, I have try to make marlin for my mks but I have difficult with it. I have mks genl 2.1 with tmc2208 drivers so I think I could modify your code for my Burly.
You may want to go ahead and start a new thread in the base Firmware category, rather than tailing on to a really old thread. We have a bunch of guys who can help you get platformio up and going, and help you get the Marlin FW compiled for your board (if there isn’t already a pre-compiled version for it).