This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2148 Run to main option didn't work

I'am working with Keil uVision4 for ARM on Windows 7 64-Bit Professional Edition with the ULink2 also from Keil.

My problem is, that when I start debugging, the debugger didn't run to my main (the "run to main" option in the Debug dialog is set).

The debugger runs the startup.s (I use the standard Startup.s from Keil for LPC2000) and stopped at LDR PC,FIQ_Addr

Vectors         LDR     PC, Reset_Addr
                LDR     PC, Undef_Addr
                LDR     PC, SWI_Addr
                LDR     PC, PAbt_Addr
                LDR     PC, DAbt_Addr
                NOP                            ; Reserved Vector
;               LDR     PC, IRQ_Addr
                LDR     PC, [PC, #-0x0FF0]     ; Vector from VicVectAddr
                LDR     PC, FIQ_Addr

I'm also wondering that I din't could set brakepoints before "Vectors" but the code source from the Startup which I posted is from Line 240.

what is my mistake? About some quick answers I will be happy.

greets

Hans

Parents Reply Children
No data