Originally Posted by timecop
Maybe our bldc expert dave1993 has some ideas?
far too many for my own good...
m8 has rep for mysterious resets. it usually turns out to be firmware bug but assuming code is ok maybe:
take special care on the reset pin. pu, caps, and tying to vcc make things worse sometimes. if possible connect NOTHING. even half inch run will pickup nearby fast edges. i went so far as to cut off the pin (make sure your optiboot is working good).
reverse biased io will do it too. make sure no pulses on io pins above vcc or below gnd. even sub-ns glitches will cause latchup and trigger bod.