Hardfault handler error during long run
Hello,
I am having a custom touchgfx application running on a RiverDI 5 inch display board with STM32. During the application run, the application halts at 'hardfault handler' randomly after few hours of run. These are the measure I tried to debug the issue, but none of them worked.
1. Increased the touchgfx task priority to high (from normal)
2. Increased the touchgfx task size
3. Set the CHECK_FOR_STACK_OVERFLOW to 2 in ioc
4. Modified the clock source
Everytime when the fault hits, there is no proper stack trace and the stack trace doesnt show the issue origin. The fault analyzer is showing PRECISERR in the window.
When I debugged further in assembly instructions, one time it faulted in vldr execution and next time it faulted in ldr execution.
Is there a way I can get more information on the stack trace? The issue is not quickly reproducible, it reproduces randomly over 4 hours or above.



Your support is much appreciated!
Thanks & Regards
RiverDI user
