Question
Could someone explain this ''Reset Handler''?
Posted on July 20, 2016 at 00:08
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? Thanks. ; 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