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
Firstly start a debug session then you are at the first line of your main(). Secondly press the KEIL's "Reset CPU" which's a red button then you will put the debug step into the first line of your startup.s. Hope my way could help :)
Great that you try to help - but please note that this post is 9 (!) years old by today.
There i.e. are also other related explanations regarding this not reached main function that we can offer today, like:
https://developer.arm.com/documentation/ka002219/latest
But, is preferable to comment on current requests, thanks.