Hardfault_Handler() with minimum new project
Hi - I am new to the STM32CubeIDE - moving from Attolic.
I have created a new STM32 project using STM32CubeIDE 1.9.0 for a STM32L151VET6 using New Project.
Our board is built to use an internal oscillator.
I can try to debug the basically empty new created project or add just a for loop in the while(1) in main() and either way it immediately stops on Hardfault_Handler.
In the Fault Analyzer :
X Bus, memory management or usage fault (FORCED)
X Imprecise data access violation (IMPRECISER)
X Stacking error (STKERR)
I have set a breakpoint on the while(1) and on the for loop inside it and neither are ever hit.
I believe I have set the pins in the IOC to match my board ( UART, SPI, GPIO )
Any suggestions on how to proceed ?
Thanks!
