STM32 getting more debug information after a HardFault in

Job ID: 35235941

Budget: $30 – $250 USD

Hi Freelancers,

I try to get much more debug information when entering an HardFault_Handler ..
I followed these steps :
https://blog.vertile.com/article/stm32-hardfault-debugging/

But are still not able to call the hard_fault_handler_c function to get the register contents i need.

Are there STM32 developers out here who can me help with setting up a more detailed debugging system to determine the reason why HardFault_Handler() was triggered?

All i want is status and stack registers to be stored directly after a HardFault.

My controller: STM32G473CCT (32-bit Arm® Cortex®-M4 core )
My debugger : ST-LINK/V2
My IDE : STM32CubeIDE 1.9.0

I preferably want a anydesk or teamviewer sessions where you do the changes while i'm watching. In that case you have access to my debugger and hardware to test if it work.

Thank you