TL;DR how not to blow up a BLDC motor or its driver and the hard-earned money I have spent on this kit while developing a firmware from scratch?
I want to start from scratch and see if I can do as good as the original proprietary firmware (its only available in bin format). My question is:
Under which conditions the motor will get damaged (by a bad firmware) as I have heard that a badly placed debug point in code can release the magic smoke from the motor or driver. Or incorrect switching sequence of transitors, etc.
Can you please pinpoint the pitfalls that can lead to damage? So that me and future readers of this question can thank you!