AnsweredAssumed Answered

Can not exit Bus Fault Handler

Question asked by Oliver Schmid on May 23, 2016
Latest reply on May 30, 2016 by EARL GOODRICH

Hi. I have the problem, that I can not exit the Bus Fault Handler.

Here is my code:

 

startup:

 

BusFault_Handler\

                PROC

                EXPORT  BusFault_Handler          [WEAK]

                IMPORT  BusFault_ISR_Handler

                LDR         R0, =BusFault_ISR_Handler

                BX        R0

                ENDP

 

 

main(){

...

//Enalbe Bus Fault exception

SCB->SHCSR |= SCB_SHCSR_BUSFAULTENA_Msk;

...

}

 

 

void BusFault_ISR_Handler(void){

     int test = 1;

}

Outcomes