2024-11-22 04:07 AM - last edited on 2024-11-22 05:10 AM by SofLit
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.
2024-11-22 05:06 AM - edited 2024-11-22 05: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
2024-11-22 05:06 AM - edited 2024-11-22 05: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