AnsweredAssumed Answered

Could someone explain this "Reset Handler"?

Question asked by vu.andy on Jul 20, 2016
Latest reply on Jul 20, 2016 by Clive One
I am using Keil uVision, and occasionally, at start of debug, the program counter would stuck
at the Rest handler routine below.  The execution would point to the instruction:
      "BLX      R0"  (line #2)
and would never go to the _Main() routine.
Does anyone know what could be the problem?

; Reset handler routine
Reset_Handler    PROC
                 EXPORT  Reset_Handler                 [WEAK]
        IMPORT  __main
        IMPORT  SystemInit  
1.                 LDR     R0, =SystemInit
2.                 BLX     R0
3.                 LDR     R0, =__main
4.                 BX      R0
5.                 ENDP