Hi All,
I am using STM32 ARM cortex controller.I use UIlink debugger I am new to controller programming. I have written a program which sets one of the GPIO Pin. The program compiles with no errors. When I debug the code line by line, i could see that it doesnt enter my application, that is main program. It stops after SystemInit function. I cannot see it executing my functions. Any idea on this would be appreciated.
Thanks in advance
Step through the startup code and see where it's going wrong.
But the program might fail during scatter loading. Check your memory layout - maybe there is a memory region declared that does not exist in reality.
Wrong clock settings...?
But the program might fail during scatter loading.
That's why I said twice "step through the startup code". Find where it's going wrong first and then find out why it's going wrong.