Big problem with motor + motor controller.

I looked at the data sheet briefly but see no mention of a voltage regulator that puts the +/- pins at 5 volts dc. What voltage do you measure at those pins? In fact is specifies that the + pin is for output to an EXTERNAL regulator so it looks like you fed your 12 volts to an input pin 'post regulator' and simply overwhelmed the whole board.