I have successful compiled the FOC AC6 STM32F4xx_UserProject corresponding to my 40V BLDC motor with Hall sensors. However, I always get a Hard Fault during "MCboot" as shown in the attachment.
I am quite new for motor controlling. Please help me to figure it out how to solve this error. Thank you for your support.