cancel
Showing results for 
Search instead for 
Did you mean: 

HardFault_Handler when click button

MauFanGilaMedical
Associate III

Hello.

I developed a Screen with touchgfx with a ModalWindow with button and BoxWithBorder

MauFanGilaMedical_2-1748338194582.png

 

I add interaction on this button that calls virtual function.

 

When I press the button the processor goes to HardFault.

 

MauFanGilaMedical_3-1748338334773.png

Can some one help me ?

 

1 REPLY 1
Andrew Neil
Super User

Debugging Hard Faults:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.