Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi everyone,
I am using a STM32F04 (ARM Cortex M0) and get stuck in the HardFault_Handler everytime.
No error in the build console and I'm almost sure that is not a stack overflow.
Could someone help me find the error?
Thanks
N@T said:No error in the build console
A Hard Fault is a runtime thing - so would not be detected at build time
N@T said:Could someone help me find the error?
Resources for debugging Hard Faults:
https://community.arm.com/developer/ip-products/system/f/embedded-forum/3257/debugging-a-cortex-m0-hard-fault
Thank you Andy!