• May I know where does stack memory begin in a Cortex M3's memory?

    For example, is it at the beginning of RAM, user or silicon vendor defined?

    I'd like to know such that I can identify the stack boundaries in memory and therefore know if I've caused a stack overflow in my code.

    My device is an LPC1778, and Im using…

  • Value of "__initial_sp"

    Hello , 

    I am new to ARM cortex M processors and while doing some coding on my board using KEIL  i found that

    at location 0x0000_0000 my debugger shows the value "0x2000_0660" . Thats the value of the MSP loaded. 

    but i really dont understand how…