Question
HardFault_Handler : how to capture them and debug the faults in SCB->CFSR
Posted on March 22, 2014 at 19:06
how can we capture the faults? i read that these memmanage,bus and usage faults can be captured from SCB->CFSR(configurable fault status register)
are there any sample pgms to deal with them and also do they occur due to the fault in the circuitry in which stm32 is connected ie due to short and voltage fluctuations etc. i am facing such faults during usart comm, but i dont get the faults consistently.the chip is stm32l152xbThanks #stm32l #memmanage-hard-fault #luck-not-design #stml #hard-fault #cfsr #stm32-scb #handler-hardfault #handler-hardfault