Coils with two lugs - no diode, it's on the driver board. So it doesn't matter which wire goes to which lug. Except if two wires of the same color, only go to one lug.
Coils with three lugs and diodes - get them right or BOOM !
Switches - All wired right ? Diode facing the right direction ? If so then try testing the CPU switch inputs to see if you have a board issue.
LTG : )