How is the cable connected at the motor end? Is there a connector? Or are the wires soldered? Does the motor have 4 or 8 wires? If you disconnect it you can check the impedance of each winding with a multimeter on ohm reading and see if you get same values on each pair. Then connect with another cable or 2 cables with 2 wires, anything you may have around.