Stm32 hard fault reason. The code was generated for MDK-ARM IDE by CubeMX 6.