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 value)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-27 8:30 AM
This is the code I am debugging.
This is the problem I encounter. The highlighted statement is a printf statement I have used in the HardFault handler
Labels:
- Labels:
-
STM32CubeIDE
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-30 6:26 AM
Cannot re-produce. Here is my ITM console output:
Exception : Usafefault
MSP = 0x2001ffc8
UFSR = 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-04 9:03 AM
I don't understand what you're trying to say.
