2015-07-18 02:13 PM
Hi,
I'm trying to enable the cortex's fault exeptions for my stm32f7 board.Everytime I call HAL_NVIC_EnableIRQ(UsageFault_IRQn); or try to enable some other Fault I get an Hard Fault.I already tried to access the register directly by using : SCB->SHCSR j= SCB_SHCSR_USGFAULTENA_Msk; //Enable usage fault interrupt Then I tried to activate the interrupt via the HAL_NVIC driver but I was not successfull and ended up on an hard fault.I also checked the .s vector to see if the usad fault function was declared on the interruption vector and it was.Does anyone know why I can´t access the faults?Thanks2015-07-19 09:59 AM
More information:
SCB->CFSR (Configurable FaultStatus Register) SCB->HFSR (HardFault Status Register)Some on the general registers: