Skip to main content
Visitor II
September 30, 2024
Question

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

  • September 30, 2024
  • 1 reply
  • 512 views

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

    cedric H
    Technical Moderator
    September 30, 2024

    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