Short to ground error using TMC2130 stepper drivers
I have fixed it. I tried uploading the bugfix version of Marlin and no luck. Then I noticed a loose jumper wire that connected the driver to the board and when re-installing it I noticed it didn't grip the pin that strongly and could be easily pulled off so I switched the wire and everything works now. Turns out that even jumper wires can have a bad connection. Hope this helps someone.