Skip to main content
Visitor II
November 22, 2024
Solved

STM32H523RCT6 goes into HARDFAULT handler/NMI handler

  • November 22, 2024
  • 1 reply
  • 693 views

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

Best answer by mƎALLEm

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

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
November 22, 2024

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.