AnsweredAssumed Answered

STM32F7 using the faults

Question asked by pawn.john on Jul 18, 2015
Latest reply on Jul 19, 2015 by pawn.john

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?