How to get initial MSP and PC values?
Hi.
I'm trying to get the MSP and PC values in the example of STM32F4 firmware.
How can I do to get the Main stack pointer and Program counter value?
I came across the below snippet code from
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.kui0097a/armcc_cihccdja.htm
int f(int x)
{ int r0; __asm { ADD r0, x, 1 EOR x, r0, x } return x;}but I can't see the that function whether work as well or not, because break point doesn't work in uVision.
Would you please let me know how to do to get the MSP and PC value ?
Also how do set the breakpoint into the f function? in my case when I set the breakpoint by using F9 function key, that break point doesn't work.
