Skip to main content
AKuma.10
Associate
June 27, 2020
Question

Hello. I am using an STM32F407VG Discovery Board. I recently encountered a problem with the ITMdataconsole of the STM32CubeMX IDE. My problem is if I use printf using argument, it triggers HardFault exception. ( HFSR bits are also not set to any valu

  • June 27, 2020
  • 1 reply
  • 1234 views

This is the code I am debugging.0693W000001reCRQAY.png

This is the problem I encounter. The highlighted statement is a printf statement I have used in the HardFault handler0693W000001reCWQAY.png

This topic has been closed for replies.

1 reply

matte
Associate
June 30, 2020

Cannot re-produce. Here is my ITM console output:

Exception : Usafefault
MSP = 0x2001ffc8
UFSR = 1

AKuma.10
AKuma.10Author
Associate
July 4, 2020

I don't understand what you're trying to say.