cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK project enters in TSK_HardwareFaultTask() when I try to use USART2 transmit

vnaik792014
Associate

Hi,

I am having weird trouble in printing serial prints over UART to my pc using the nucleo motor control kit F302R8 based MCU. The motor works fine but when I try to print logs over UART the thing enters into TSK hardware fault, although I could print things fine when I open a plain project for the board.

 

please help me out urgently as this needs to go in production ASAP!

1 REPLY 1
cedric H
ST Employee

Hello @vnaik792014 ,

You are asking for urgent support without spending few minutes to read the following post :

How to write a Motor control post to get a respons... - STMicroelectronics Community

The MCSDK does not provide a print log feature, so I understand you want us to debug your own code. Based of what information? 

By production, you mean you have to submit your study project?

Regards

Cedric