We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Are you trying to override the standard C runtime library?
It would be worth clearing the "run to main" option and single stepping through the startup code. It should give you a better idea as to where the code is shooting off - Then you could look for the why.