cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H523RCT6 goes into HARDFAULT handler/NMI handler

DeepakKumar
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.