STM32H523RCT6 goes into HARDFAULT handler/NMI handler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-22 4:07 AM - last edited on ‎2024-11-22 5:10 AM by mƎALLEm
Hello ST Team,
Currently i am using STM32H523RCT6 mcu for one of my application. Some times mcu goes into "hardfault handler/nmi handler". Can you suggest what will be reasons behind that problem.
Thanks with Regards
DEEPAK
Solved! Go to Solution.
- Labels:
-
STM32H5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-22 5:06 AM - edited ‎2024-11-22 5:18 AM
Hello,
Your description does not provide sufficient information. Moreover Hardfault, it's not obvious to tell you the origin of it so need to debug it yourself.
See this article: https://community.st.com/t5/stm32-mcus/how-to-debug-a-hardfault-on-an-arm-cortex-m-stm32/ta-p/672235
The only origin that I can tell you about this Hardfault on H5 product is the following: https://community.st.com/t5/stm32-mcus/how-to-avoid-a-hardfault-when-icache-is-enabled-on-the-stm32h5/ta-p/630085
It could be something related to ECC error see: https://community.st.com/t5/stm32-mcus-products/stm32h5-ecc-errors-and-icache-invalidation/td-p/683375
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-22 5:06 AM - edited ‎2024-11-22 5:18 AM
Hello,
Your description does not provide sufficient information. Moreover Hardfault, it's not obvious to tell you the origin of it so need to debug it yourself.
See this article: https://community.st.com/t5/stm32-mcus/how-to-debug-a-hardfault-on-an-arm-cortex-m-stm32/ta-p/672235
The only origin that I can tell you about this Hardfault on H5 product is the following: https://community.st.com/t5/stm32-mcus/how-to-avoid-a-hardfault-when-icache-is-enabled-on-the-stm32h5/ta-p/630085
It could be something related to ECC error see: https://community.st.com/t5/stm32-mcus-products/stm32h5-ecc-errors-and-icache-invalidation/td-p/683375
