Sad about your G540, but you cad send it to Gecko drive for repair, it will be fixed for free, one time only, no questions asked, just shipping costs.

Which breakout board do you have?
Which stepper drivers you have?

When asking these kind of questions be precise and provide all relevant info.