I am using Keil MDK Version 4.02 and Debugger ULINK2. With an Evalution Board from STM Based on ARM Cortex M3, I am unable to Insert BreakPoints while debugging. But the Firmware is running in the Board by blinking an LED. Please let me know your comments on this?
Regards, Favas.
I am using Keil MDK Version 4.02 and Debugger ULINK2. With an Evalution Board from STM Based on ARM Cortex M3, I am unable to Insert BreakPoints or step into the C Code while debugging. I can step into the disassembly code, but not the C code. But I am able to make the code RUN in the debug mode and also flash the code using ULink2. can some one put some light to this issue.
Did you enable Debug Information for your project?
http://www.keil.com/support/man/docs/uv4/uv4_dg_adsout.htm
http://www.keil.com/support/man/docs/gsac/
Hi Andy Neil, Thanks for your response
Yes. I tried this by selecting the Check Boxes Debug Information, Create HEX File, Browse Information and Create Batch file. But still its not possible. I also tried using a Demo Application provided with Keil, but in that i can able to insert breakpoints in some lines of C Code. What is this mean?
Try do remove the optimization to 0 (none).
Hi Doron,
Thank you for response, As per your suggestion i tried with different Code Optimization Levels. But still problem is there.