STM32F7 using the faults
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-18 2:13 PM
Posted on July 18, 2015 at 23:13
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?Thanks
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-19 9:59 AM
Posted on July 19, 2015 at 18:59
SCB->HFSR (HardFault Status Register)
Some on the general registers:
More information:
SCB->CFSR (Configurable FaultStatus Register)